Module: ActiveZuora::ZObject

Extended by:
ActiveSupport::Concern
Included in:
CollectionProxy
Defined in:
lib/active_zuora/z_object.rb

Instance Method Summary collapse

Instance Method Details

#==(another_zobject) ⇒ Object



14
15
16
17
18
# File 'lib/active_zuora/z_object.rb', line 14

def ==(another_zobject)
  another_zobject.is_a?(ZObject) &&
    zuora_object_name == another_zobject.zuora_object_name && 
    id == another_zobject.id
end