Method: Atlas::Box#create_version

Defined in:
lib/atlas/box.rb

#create_version(attr) ⇒ BoxVersion

Create a version for this box.

Parameters:

  • attr (Hash)

    attributes to set on the version.

Returns:

  • (BoxVersion)

    a BoxVersion representing the new version.



103
104
105
# File 'lib/atlas/box.rb', line 103

def create_version(attr)
  BoxVersion.create(tag, attr)
end