class Vagrant::BoxMetadata::Provider

Provider represents a single provider-specific box available for a version for a box.

Attributes

checksum[RW]

The checksum value for this box, if any.

@return [String]

checksum_type[RW]

The type of checksum (if any) associated with this provider.

@return [String]

name[RW]

The name of the provider.

@return [String]

url[RW]

The URL of the box.

@return [String]

Public Class Methods

new(raw, **_) click to toggle source
# File lib/vagrant/box_metadata.rb, line 152
def initialize(raw, **_)
  @name = raw["name"]
  @url  = raw["url"]
  @checksum = raw["checksum"]
  @checksum_type = raw["checksum_type"]
end