Class: Adyen::Marketpay::Hop

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

Constant Summary collapse

DEFAULT_VERSION =
1

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) ⇒ Hop

Returns a new instance of Hop.



100
101
102
103
104
105
106
107
# File 'lib/adyen/services/marketpay.rb', line 100

def initialize(client, version = DEFAULT_VERSION)
  service = 'Hop'
  method_names = [
    :get_onboarding_url
  ]

  super(client, version, service, method_names)
end

Instance Attribute Details

#versionObject

Returns the value of attribute version.



97
98
99
# File 'lib/adyen/services/marketpay.rb', line 97

def version
  @version
end