Sha256: b1afb12df4b248dc62fcbfaef515e8f862de2ddca3d4e53697a807003ea97e0c
Contents?: true
Size: 595 Bytes
Versions: 2
Compression:
Stored size: 595 Bytes
Contents
module Berkshelf::API class RemoteCookbook attr_accessor :name attr_accessor :version attr_accessor :location_type attr_accessor :location_path attr_accessor :priority attr_accessor :info def initialize(name, version, location_type, location_path, priority, info = {}) @name = name @version = version @location_type = location_type @location_path = location_path @priority = priority @info = info end def hash "#{name}|#{version}".hash end def eql?(other) self.hash == other.hash end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
berkshelf-api-2.1.0 | lib/berkshelf/api/remote_cookbook.rb |
berkshelf-api-2.0.0 | lib/berkshelf/api/remote_cookbook.rb |