Sha256: 6879d69eb002bd1a32830fb8a1bb49f42eb95a3f725261cf55e447b283b0f2ac

Contents?: true

Size: 539 Bytes

Versions: 8

Compression:

Stored size: 539 Bytes

Contents

module Braintree
  class Dispute
    class Evidence
      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

8 entries across 8 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/dispute/evidence.rb
braintree-4.22.0 lib/braintree/dispute/evidence.rb
braintree-4.21.0 lib/braintree/dispute/evidence.rb
braintree-4.20.0 lib/braintree/dispute/evidence.rb
braintree-4.19.0 lib/braintree/dispute/evidence.rb
braintree-4.18.0 lib/braintree/dispute/evidence.rb
braintree-4.17.0 lib/braintree/dispute/evidence.rb
braintree-4.16.0 lib/braintree/dispute/evidence.rb