class Vagrant::BoxMetadata::Remote::Version::Provider
Attributes
checksum[RW]
checksum_type[RW]
name[RW]
url[RW]
Public Class Methods
new(raw, client: nil)
click to toggle source
# File lib/vagrant/box_metadata/remote.rb, line 82 def initialize(raw, client: nil) @name = raw[:name] @url = raw[:url] @checksum = raw[:checksum] @checksum_type = raw[:checksum_type] if client.nil? raise ArgumentError, "Remote client is required for `#{self.class.name}'" end @client = client end