mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-06 00:02:18 -04:00
* Add support for multiplan subscriptions: Serialize indexed arrays into hashes with index keys in subscription create, subscription update, and upcoming invoice Add a SubscriptionItem object that supports creation, deletion, update, listing, and retrieval * Remove helpers that convert items array to indexed hash
13 lines
291 B
Ruby
13 lines
291 B
Ruby
module Stripe
|
|
class SubscriptionItem < APIResource
|
|
extend Stripe::APIOperations::Create
|
|
include Stripe::APIOperations::Delete
|
|
extend Stripe::APIOperations::List
|
|
include Stripe::APIOperations::Save
|
|
|
|
def self.resource_url
|
|
'/v1/subscription_items'
|
|
end
|
|
end
|
|
end
|