Class: PayPro::Endpoint
- Inherits:
-
Object
- Object
- PayPro::Endpoint
- Includes:
- Operations::Requestable
- Defined in:
- lib/pay_pro/endpoint.rb
Direct Known Subclasses
PayPro::Endpoints::Chargebacks, PayPro::Endpoints::Customers, PayPro::Endpoints::Events, PayPro::Endpoints::InstallmentPlanPeriods, PayPro::Endpoints::InstallmentPlans, PayPro::Endpoints::Mandates, PayPro::Endpoints::PayMethods, PayPro::Endpoints::Payments, PayPro::Endpoints::Refunds, PayPro::Endpoints::SubscriptionPeriods, PayPro::Endpoints::Subscriptions, PayPro::Endpoints::Webhooks
Instance Attribute Summary collapse
-
#api_client ⇒ Object
readonly
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#initialize(api_client:) ⇒ Endpoint
constructor
A new instance of Endpoint.
Methods included from Operations::Requestable
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_client ⇒ Object (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 |