Class: Amazon::Associates::Request

Inherits:
ApiResult show all
Defined in:
lib/amazon-associates/types/requests.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



17
18
19
20
21
# File 'lib/amazon-associates/types/requests.rb', line 17

def ==(other)
  (instance_variables.sort == other.instance_variables.sort) && instance_variables.all? do |v|
    instance_variable_get(v) == other.instance_variable_get(v)
  end
end