Class: Stripe::MandateService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::MandateService
- Defined in:
- lib/stripe/services/mandate_service.rb
Instance Method Summary collapse
-
#retrieve(mandate, params = {}, opts = {}) ⇒ Object
Retrieves a Mandate object.
Methods inherited from StripeService
#initialize, #request, #request_stream
Constructor Details
This class inherits a constructor from Stripe::StripeService
Instance Method Details
#retrieve(mandate, params = {}, opts = {}) ⇒ Object
Retrieves a Mandate object.
7 8 9 10 11 12 13 14 15 |
# File 'lib/stripe/services/mandate_service.rb', line 7 def retrieve(mandate, params = {}, opts = {}) request( method: :get, path: format("/v1/mandates/%<mandate>s", { mandate: CGI.escape(mandate) }), params: params, opts: opts, base_address: :api ) end |