Class: Paynl::Api::GetService
- Defined in:
- lib/paynl/api/transaction/get_service.rb
Instance Method Summary collapse
Methods inherited from Api
#isApiTokenRequired, #isServiceIdRequired, #processResult
Instance Method Details
#doRequest ⇒ Object
15 16 17 18 |
# File 'lib/paynl/api/transaction/get_service.rb', line 15 def doRequest # TODO: add caching to this return super('transaction/getService', nil) end |
#getData ⇒ Object
5 6 7 8 9 10 11 12 13 |
# 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 |