Module: BuckarooJson::TransactionSpecification

Defined in:
lib/buckaroo_json/transaction_specification.rb

Class Method Summary collapse

Class Method Details

.create(mode:, website_key:, api_key:, service:, version:) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/buckaroo_json/transaction_specification.rb', line 6

def create(mode:, website_key:, api_key:, service:, version:)
  Request.create(
    mode: mode,
    website_key: website_key,
    api_key: api_key,
    method: 'GET',
    endpoint: endpoint(service, version),
    content: nil
  )
end