Sha256: 544d6437e37bb09aa85318cf2f8beb3f0de397c5dda3553631b13af5aef9c4d0

Contents?: true

Size: 525 Bytes

Versions: 21

Compression:

Stored size: 525 Bytes

Contents

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

      attr_reader :disbursement_date
      attr_reader :effective_date
      attr_reader :status
      attr_reader :timestamp

      def initialize(attributes)
        set_instance_variables_from_hash attributes unless attributes.nil?
        @disbursement_date = Date.parse(disbursement_date) unless disbursement_date.nil?
        @effective_date = Date.parse(effective_date) unless effective_date.nil?
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

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