class GoApiClient::Domain::Author

Attributes

email[RW]
name[RW]
uri[RW]

Public Class Methods

new(attributes={}) click to toggle source
Calls superclass method GoApiClient::AttributeHelper::new
# File lib/go_api_client/domain/author.rb, line 6
def initialize(attributes={})
  super(attributes)
end

Public Instance Methods

==(other) click to toggle source
# File lib/go_api_client/domain/author.rb, line 10
def ==(other)
  other && self.class.equal?(other.class) &&
      name == other.name &&
      email == other.email &&
      uri == other.uri
end
hash() click to toggle source
# File lib/go_api_client/domain/author.rb, line 17
def hash
  self.class.hash ^ name.hash ^ email.hash ^ uri.hash
end