Class: Adyen::BinLookup

Inherits:
Service show all
Defined in:
lib/adyen/services/bin_lookup.rb

Constant Summary collapse

DEFAULT_VERSION =
50

Instance Attribute Summary collapse

Attributes inherited from Service

#service

Instance Method Summary collapse

Methods inherited from Service

action_for_method_name

Constructor Details

#initialize(client, version = DEFAULT_VERSION) ⇒ BinLookup

Returns a new instance of BinLookup.



8
9
10
11
12
13
14
15
16
# File 'lib/adyen/services/bin_lookup.rb', line 8

def initialize(client, version = DEFAULT_VERSION)
  service = 'BinLookup'
  method_names = [
    :get_3ds_availability,
    :get_cost_estimate
  ]

  super(client, version, service, method_names)
end

Instance Attribute Details

#versionObject

Returns the value of attribute version.



5
6
7
# File 'lib/adyen/services/bin_lookup.rb', line 5

def version
  @version
end