Module: PayPro::Operations::Getable
- Included in:
- Endpoints::Chargebacks, Endpoints::Customers, Endpoints::Events, Endpoints::InstallmentPlanPeriods, Endpoints::InstallmentPlans, Endpoints::Mandates, Endpoints::Payments, Endpoints::Refunds, Endpoints::SubscriptionPeriods, Endpoints::Subscriptions, Endpoints::Webhooks
- Defined in:
- lib/pay_pro/operations/getable.rb
Instance Method Summary collapse
Instance Method Details
#get(id, **options) ⇒ Object
6 7 8 |
# File 'lib/pay_pro/operations/getable.rb', line 6 def get(id, **) api_request(method: 'get', uri: "#{resource_url}/#{CGI.escape(id)}", options: ) end |