class Paynl::Api::GetService

Public Instance Methods

doRequest() click to toggle source
Calls superclass method Paynl::Api::Api#doRequest
# File lib/paynl/api/transaction/get_service.rb, line 15
def doRequest
  # TODO: add caching to this
  return super('transaction/getService', 16)
end
getData() click to toggle source
Calls superclass method Paynl::Api::Api#getData
# File lib/paynl/api/transaction/get_service.rb, line 5
def getData
  Paynl::Helper::requireServiceId
  @@data['serviceId'] = Paynl::Config::getServiceId

  Paynl::Helper::requireApiToken
  @@data['token'] = Paynl::Config::getApiToken

  return super;
end