Sha256: 2eb3c642909eb646f870f3fc638b76a62f5847202299700fb4c441e7d9b9f5ac

Contents?: true

Size: 414 Bytes

Versions: 30

Compression:

Stored size: 414 Bytes

Contents

module ActiveZuora
  module ZObject
    
    extend ActiveSupport::Concern

    included do
      include Base
      include Scoping
      include HasManyAssociations
      include Persistence
      field :id, :string
    end
 
    def ==(another_zobject)
      another_zobject.is_a?(ZObject) &&
        zuora_object_name == another_zobject.zuora_object_name && 
        id == another_zobject.id
    end

  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
active_zuora-2.6.0 lib/active_zuora/z_object.rb
active_zuora-2.5.4 lib/active_zuora/z_object.rb
active_zuora-2.5.3 lib/active_zuora/z_object.rb
active_zuora-2.5.2 lib/active_zuora/z_object.rb
active_zuora-2.5.1 lib/active_zuora/z_object.rb
active_zuora-2.5.0 lib/active_zuora/z_object.rb
active_zuora-2.4.1 lib/active_zuora/z_object.rb
active_zuora-2.4.0 lib/active_zuora/z_object.rb
active_zuora-2.3.1 lib/active_zuora/z_object.rb
active_zuora-2.3.0 lib/active_zuora/z_object.rb
active_zuora-2.2.7 lib/active_zuora/z_object.rb
active_zuora-2.2.6 lib/active_zuora/z_object.rb
active_zuora-2.2.5 lib/active_zuora/z_object.rb
active_zuora-2.2.4 lib/active_zuora/z_object.rb
active_zuora-2.2.3 lib/active_zuora/z_object.rb
active_zuora-2.2.2 lib/active_zuora/z_object.rb
active_zuora-2.2.1 lib/active_zuora/z_object.rb
active_zuora-2.2.0 lib/active_zuora/z_object.rb
active_zuora-2.1.4 lib/active_zuora/z_object.rb
active_zuora-2.1.3 lib/active_zuora/z_object.rb