Class VagrantCloud::Client
In: lib/vagrant_cloud/client.rb
Parent: Object

Methods

new   parse_json   request  

Constants

URL_BASE = 'https://vagrantcloud.com/api/v1'.freeze   Base Vagrant Cloud API URL

Attributes

access_token  [RW] 

Public Class methods

@param [String] access_token - token used to authenticate API requests @param [String] url_base - URL used to make API requests

Public Instance methods

@param [String] method @param [String] path @param [Hash] params @param [String] token @return [Hash]

Protected Instance methods

Parse string of JSON

@param [String] string JSON encoded string @return [Object] @note This is included to provide expected behavior on Ruby 2.3. Once it has reached EOL this can be removed.

[Validate]