Class: PayPro::Endpoint

Inherits:
Object
  • Object
show all
Includes:
Operations::Requestable
Defined in:
lib/pay_pro/endpoint.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Operations::Requestable

#api_request

Constructor Details

#initialize(api_client:) ⇒ Endpoint

Returns a new instance of Endpoint.



9
10
11
# File 'lib/pay_pro/endpoint.rb', line 9

def initialize(api_client:)
  @api_client = api_client
end

Instance Attribute Details

#api_clientObject (readonly)

Returns the value of attribute api_client.



7
8
9
# File 'lib/pay_pro/endpoint.rb', line 7

def api_client
  @api_client
end