Method: Stripe::PromotionCodeService#list
- Defined in:
- lib/stripe/services/promotion_code_service.rb
#list(params = {}, opts = {}) ⇒ Object
Returns a list of your promotion codes.
18 19 20 21 22 23 24 25 26 |
# File 'lib/stripe/services/promotion_code_service.rb', line 18 def list(params = {}, opts = {}) request( method: :get, path: "/v1/promotion_codes", params: params, opts: opts, base_address: :api ) end |