Module: PayPro::Operations::Requestable
Instance Method Summary collapse
Instance Method Details
#api_request(method:, uri:, params: {}, body: nil, options: {}) ⇒ Object
6 7 8 9 |
# File 'lib/pay_pro/operations/requestable.rb', line 6 def api_request(method:, uri:, params: {}, body: nil, options: {}) response = api_client.request(method: method, uri: uri, params: params, body: body, options: ) Util.to_entity(response.data, params: params, api_client: api_client) end |