Constructor Details

Dynamic Method Handling

This class handles dynamic methods through the method_missing method
in the class Stripe::StripeObject

Class Method Details

.retrieve(id, api_key = nil) ⇒ Object

Raises:

(NotImplementedError)

10
11
12

# File 'lib/stripe/subscription.rb', line 10defself.retrieve(id,api_key=nil)raiseNotImplementedError.new("Subscriptions cannot be retrieved without a customer ID. Retrieve a subscription using customer.subscriptions.retrieve('subscription_id')")end