Sha256: fc966ec356c283bc9221de4515e25c65b0ab136272458576aa8e4937355aaee7

Contents?: true

Size: 589 Bytes

Versions: 34

Compression:

Stored size: 589 Bytes

Contents

module Braintree
  class EuropeBankAccount
    include BaseModule

    module MandateType
      Business = 'business'
      Consumer = 'consumer'
    end

    attr_reader :token, :image_url, :customer_id

    def initialize(gateway, attributes) # :nodoc:
      @gateway = gateway
      set_instance_variables_from_hash(attributes)
    end

    class << self
      protected :new
    end

    def self._new(*args)
      self.new(*args)
    end

    def self.find(token)
      Configuration.gateway.europe_bank_account.find(token)
    end

    def default?
      @default
    end

  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
braintree-2.80.1 lib/braintree/europe_bank_account.rb
braintree-2.80.0 lib/braintree/europe_bank_account.rb
braintree-2.79.0 lib/braintree/europe_bank_account.rb
braintree-2.78.0 lib/braintree/europe_bank_account.rb
braintree-2.77.0 lib/braintree/europe_bank_account.rb
braintree-2.76.0 lib/braintree/europe_bank_account.rb
braintree-2.75.0 lib/braintree/europe_bank_account.rb
braintree-2.74.0 lib/braintree/europe_bank_account.rb
braintree-2.73.0 lib/braintree/europe_bank_account.rb
braintree-2.72.0 lib/braintree/europe_bank_account.rb
braintree-2.71.0 lib/braintree/europe_bank_account.rb
braintree-2.70.0 lib/braintree/europe_bank_account.rb
braintree-2.69.1 lib/braintree/europe_bank_account.rb
braintree-2.69.0 lib/braintree/europe_bank_account.rb
braintree-2.68.2 lib/braintree/europe_bank_account.rb
braintree-2.68.1 lib/braintree/europe_bank_account.rb
braintree-2.68.0 lib/braintree/europe_bank_account.rb
braintree-2.67.0 lib/braintree/europe_bank_account.rb
braintree-2.66.0 lib/braintree/europe_bank_account.rb
braintree-2.65.0 lib/braintree/europe_bank_account.rb