Sha256: 59cc637ec588558cf04d2852542884806105b478a570d4dcb277965f888d9f91

Contents?: true

Size: 300 Bytes

Versions: 14

Compression:

Stored size: 300 Bytes

Contents

module Braintree
  class AchMandate
    include BaseModule # :nodoc:

    attr_reader :text, :accepted_at

    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

14 entries across 14 versions & 1 rubygems

Version Path
braintree-2.80.1 lib/braintree/ach_mandate.rb
braintree-2.80.0 lib/braintree/ach_mandate.rb
braintree-2.79.0 lib/braintree/ach_mandate.rb
braintree-2.78.0 lib/braintree/ach_mandate.rb
braintree-2.77.0 lib/braintree/ach_mandate.rb
braintree-2.76.0 lib/braintree/ach_mandate.rb
braintree-2.75.0 lib/braintree/ach_mandate.rb
braintree-2.74.0 lib/braintree/ach_mandate.rb
braintree-2.73.0 lib/braintree/ach_mandate.rb
braintree-2.72.0 lib/braintree/ach_mandate.rb
braintree-2.71.0 lib/braintree/ach_mandate.rb
braintree-2.70.0 lib/braintree/ach_mandate.rb
braintree-2.69.1 lib/braintree/ach_mandate.rb
braintree-2.69.0 lib/braintree/ach_mandate.rb