Class: Adyen::BinLookup

Inherits:
Object
  • Object
show all
Defined in:
lib/adyen/services/binLookup.rb

Overview

NOTE: This class is auto generated by OpenAPI Generator Ref: openapi-generator.tech

Do not edit the class manually.

Constant Summary collapse

DEFAULT_VERSION =
54

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client, version = DEFAULT_VERSION) ⇒ BinLookup

Returns a new instance of BinLookup.



13
14
15
16
17
# File 'lib/adyen/services/binLookup.rb', line 13

def initialize(client, version = DEFAULT_VERSION)
  @service = 'BinLookup'
  @client = client
  @version = version
end

Instance Attribute Details

#serviceObject

Returns the value of attribute service.



10
11
12
# File 'lib/adyen/services/binLookup.rb', line 10

def service
  @service
end

#versionObject

Returns the value of attribute version.



10
11
12
# File 'lib/adyen/services/binLookup.rb', line 10

def version
  @version
end

Instance Method Details

#bin_lookup_apiObject



19
20
21
# File 'lib/adyen/services/binLookup.rb', line 19

def bin_lookup_api
  @bin_lookup_api ||= Adyen::BinLookupApi.new(@client, @version)
end