Class VagrantCloud::Box
In: lib/vagrant_cloud/box.rb
Parent: Object

Methods

Constants

ATTR_MAP = { is_private: 'private', description: 'description_markdown'   Vagrant Cloud returns keys different from what you set for some params. Values in this map should be strings.

Attributes

account  [RW] 
name  [RW] 

Public Class methods

@param [String] account @param [String] name @param [Hash] data @param [String] description @param [String] short_description @param [String] access_token

Public Instance methods

@param [String] short_description @param [String] description @param [Bool] is_private @return [Hash]

@param [String] name @param [String] description @return [Version]

Read this box @return [Hash]

A generic function to read any box on Vagrant Cloud If org and box name is not supplied, it will default to reading the given Box object

@param [String] org - organization of the box to read @param [String] box_name - name of the box to read @return [Hash]

@return [String]

@return [String]

@param [String] name @param [String] description @return [Version]

@param [Integer] number @param [Hash] data @return [Version]

@param [Symbol] @return [String]

@return [TrueClass, FalseClass]

A generic function to read any box on Vagrant Cloud

@param [String] org - organization of the box to read @param [String] box_name - name of the box to read @return [Hash]

Update a box

@param [Hash] args @param [String] org - organization of the box to read @param [String] box_name - name of the box to read @return [Hash] @data

@return [Array<Version>]

[Validate]