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-3.0.1 lib/braintree/dispute/evidence.rb
braintree-2.104.1 lib/braintree/dispute/evidence.rb
braintree-2.104.0 lib/braintree/dispute/evidence.rb
braintree-2.103.0 lib/braintree/dispute/evidence.rb
braintree-2.102.0 lib/braintree/dispute/evidence.rb
braintree-2.101.0 lib/braintree/dispute/evidence.rb
braintree-2.100.0 lib/braintree/dispute/evidence.rb
braintree-2.99.0 lib/braintree/dispute/evidence.rb
braintree-2.98.0 lib/braintree/dispute/evidence.rb
braintree-2.97.0 lib/braintree/dispute/evidence.rb
braintree-2.96.0 lib/braintree/dispute/evidence.rb
braintree-2.95.0 lib/braintree/dispute/evidence.rb
braintree-2.94.0 lib/braintree/dispute/evidence.rb
braintree-2.93.0 lib/braintree/dispute/evidence.rb
braintree-2.92.0 lib/braintree/dispute/evidence.rb
braintree-2.91.0 lib/braintree/dispute/evidence.rb
braintree-2.90.0 lib/braintree/dispute/evidence.rb
braintree-2.89.0 lib/braintree/dispute/evidence.rb
braintree-2.88.0 lib/braintree/dispute/evidence.rb
braintree-2.87.0 lib/braintree/dispute/evidence.rb