Sha256: 1ff2c3cb5988ca08caaec54783f7dd1387d2227a3dcdf4d0d00522670256f691

Contents?: true

Size: 549 Bytes

Versions: 41

Compression:

Stored size: 549 Bytes

Contents

module Braintree
  class Dispute
    class Evidence # :nodoc:
      include BaseModule

      attr_reader :category,
        :comment,
        :created_at,
        :id,
        :sent_to_processor_at,
        :url,
        :tag,
        :sequence_number

      def initialize(attributes)
        unless attributes.nil?
          @tag = attributes[:category]
          set_instance_variables_from_hash attributes
        end
        @sent_to_processor_at = Date.parse(sent_to_processor_at) unless sent_to_processor_at.nil?
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
braintree-4.15.0 lib/braintree/dispute/evidence.rb
braintree-4.14.0 lib/braintree/dispute/evidence.rb
braintree-4.13.0 lib/braintree/dispute/evidence.rb
braintree-4.12.0 lib/braintree/dispute/evidence.rb
braintree-4.11.0 lib/braintree/dispute/evidence.rb
braintree-4.10.0 lib/braintree/dispute/evidence.rb
braintree-4.9.0 lib/braintree/dispute/evidence.rb
braintree-4.8.0 lib/braintree/dispute/evidence.rb
braintree-4.7.0 lib/braintree/dispute/evidence.rb
braintree-4.6.0 lib/braintree/dispute/evidence.rb
braintree-4.5.0 lib/braintree/dispute/evidence.rb
braintree-4.4.0 lib/braintree/dispute/evidence.rb
braintree-4.3.0 lib/braintree/dispute/evidence.rb
braintree-4.2.0 lib/braintree/dispute/evidence.rb
braintree-4.1.0 lib/braintree/dispute/evidence.rb
braintree-4.0.0 lib/braintree/dispute/evidence.rb
braintree-3.4.0 lib/braintree/dispute/evidence.rb
braintree-3.3.0 lib/braintree/dispute/evidence.rb
braintree-3.2.0 lib/braintree/dispute/evidence.rb
braintree-3.1.0 lib/braintree/dispute/evidence.rb