Sha256: 525fa56d8604aa6df28fdc086e24f7bf6aea02c804a82f99dd0c8b52eca69d48

Contents?: true

Size: 575 Bytes

Versions: 9

Compression:

Stored size: 575 Bytes

Contents

module Braintree
  class EuropeBankAccount
    include BaseModule

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

    attr_reader :token, :image_url

    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

9 entries across 9 versions & 1 rubygems

Version Path
braintree-2.48.1 lib/braintree/europe_bank_account.rb
braintree-2.48.0 lib/braintree/europe_bank_account.rb
braintree-2.47.0 lib/braintree/europe_bank_account.rb
braintree-2.46.0 lib/braintree/europe_bank_account.rb
braintree-2.45.0 lib/braintree/europe_bank_account.rb
braintree-2.44.0 lib/braintree/europe_bank_account.rb
braintree-2.43.0 lib/braintree/europe_bank_account.rb
braintree-2.42.0 lib/braintree/europe_bank_account.rb
braintree-2.41.0 lib/braintree/europe_bank_account.rb