Sha256: 20041531bf4d0c8f91ad3ac6eed30a8bf0b7846c34fc9062de551490681a190a

Contents?: true

Size: 537 Bytes

Versions: 4

Compression:

Stored size: 537 Bytes

Contents

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

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

      def initialize(attributes)
        unless attributes.nil?
          @tag = attributes.delete(: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

4 entries across 4 versions & 1 rubygems

Version Path
braintree-2.85.0 lib/braintree/dispute/evidence.rb
braintree-2.84.0 lib/braintree/dispute/evidence.rb
braintree-2.83.0 lib/braintree/dispute/evidence.rb
braintree-2.82.0 lib/braintree/dispute/evidence.rb