class PuppetForgeServer::Models::Metadata

Attributes

author[RW]
checksums[RW]
classes[RW]
definitions[RW]
dependencies[RW]
description[RW]
issues_url[RW]
license[RW]
mail[RW]
name[RW]
operatingsystem_support[RW]
project_page[RW]
puppet_version[RW]
requirements[RW]
source[RW]
summary[RW]
tags[RW]
types[RW]
version[RW]

Public Class Methods

new(attributes) click to toggle source
Calls superclass method PuppetForgeServer::Models::Builder::new
# File lib/puppet_forge_server/models/metadata.rb, line 24
def initialize(attributes)
  super(attributes)
end

Public Instance Methods

==(other) click to toggle source
# File lib/puppet_forge_server/models/metadata.rb, line 28
def ==(other)
  other && self.class.equal?(other.class) &&
      @author == other.author &&
      @name == other.name &&
      @version == other.version
end
eql?(other) click to toggle source
# File lib/puppet_forge_server/models/metadata.rb, line 39
def eql?(other)
  other && self.class.equal?(other.class) &&
      @author.eql?(other.author) &&
      @name.eql?(other.name) &&
      @version.eql?(other.version)
end
hash() click to toggle source
# File lib/puppet_forge_server/models/metadata.rb, line 35
def hash
  @author.hash ^ @name.hash ^ @version.hash
end