Class: PayTrace::API::Gateway
- Inherits:
-
Object
- Object
- PayTrace::API::Gateway
- Defined in:
- lib/paytrace/api/gateway.rb
Constant Summary collapse
Instance Method Summary collapse
-
#initialize(connection: Faraday.new) ⇒ Gateway
constructor
A new instance of Gateway.
- #send_request(request) ⇒ Object
Constructor Details
#initialize(connection: Faraday.new) ⇒ Gateway
Returns a new instance of Gateway.
11 12 13 |
# File 'lib/paytrace/api/gateway.rb', line 11 def initialize(connection: Faraday.new) @connection = connection end |