Class: Adyen::Marketpay::Hop

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

Constant Summary collapse

DEFAULT_VERSION =
6

Instance Attribute Summary collapse

Attributes inherited from Service

#service

Instance Method Summary collapse

Methods inherited from Service

action_for_method_name, #create_query_string

Constructor Details

#initialize(client, version = DEFAULT_VERSION) ⇒ Hop

Returns a new instance of Hop.



108
109
110
111
112
113
114
115
# File 'lib/adyen/services/marketpay.rb', line 108

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.



104
105
106
# File 'lib/adyen/services/marketpay.rb', line 104

def version
  @version
end