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.1.2 lib/active_zuora/z_object.rb
active_zuora-2.1.1 lib/active_zuora/z_object.rb
active_zuora-2.0.6 lib/active_zuora/z_object.rb
active_zuora-2.1.0 lib/active_zuora/z_object.rb
active_zuora-2.0.5 lib/active_zuora/z_object.rb
active_zuora-2.0.4 lib/active_zuora/z_object.rb
active_zuora-2.0.3 lib/active_zuora/z_object.rb
active_zuora-2.0.2 lib/active_zuora/z_object.rb
active_zuora-2.0.1 lib/active_zuora/z_object.rb
active_zuora-2.0.0 lib/active_zuora/z_object.rb