Sha256: dd187be9b2a7da1f0237a435c394ee0d8fb78a306eab5e0ac6a5cd5d11da53af

Contents?: true

Size: 315 Bytes

Versions: 46

Compression:

Stored size: 315 Bytes

Contents

module Braintree
  class AchMandate
    include BaseModule # :nodoc:

    attr_reader :accepted_at
    attr_reader :text

    def initialize(attributes)
      set_instance_variables_from_hash(attributes)
      @accepted_at = Time.parse(attributes[:accepted_at]) unless @accepted_at.class == Time
    end

  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
braintree-3.0.1 lib/braintree/ach_mandate.rb
braintree-2.104.1 lib/braintree/ach_mandate.rb
braintree-2.104.0 lib/braintree/ach_mandate.rb
braintree-2.103.0 lib/braintree/ach_mandate.rb
braintree-2.102.0 lib/braintree/ach_mandate.rb
braintree-2.101.0 lib/braintree/ach_mandate.rb
braintree-2.100.0 lib/braintree/ach_mandate.rb
braintree-2.99.0 lib/braintree/ach_mandate.rb
braintree-2.98.0 lib/braintree/ach_mandate.rb
braintree-2.97.0 lib/braintree/ach_mandate.rb
braintree-2.96.0 lib/braintree/ach_mandate.rb
braintree-2.95.0 lib/braintree/ach_mandate.rb
braintree-2.94.0 lib/braintree/ach_mandate.rb
braintree-2.93.0 lib/braintree/ach_mandate.rb
braintree-2.92.0 lib/braintree/ach_mandate.rb
braintree-2.91.0 lib/braintree/ach_mandate.rb
braintree-2.90.0 lib/braintree/ach_mandate.rb
braintree-2.89.0 lib/braintree/ach_mandate.rb
braintree-2.88.0 lib/braintree/ach_mandate.rb
braintree-2.87.0 lib/braintree/ach_mandate.rb