mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
* chore!: Update CA certifacte bundle (Apr 26). (#1079) * Generate stripe-ruby with breaking changes (#1102) * Generate stripe-ruby with breaking changes * Remove RecipientTest * Remove AlipayAccount tests * Regenerate files * Delete outdated tests * Fix more tests * Fix more tests * Fix example test manually * Update retrieve_cash_balance method to have params. (#1104) Co-authored-by: Dominic Charley-Roy <78050200+dcr-stripe@users.noreply.github.com>
20 lines
645 B
Ruby
20 lines
645 B
Ruby
# File generated from our OpenAPI spec
|
|
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
class SubscriptionItem < APIResource
|
|
extend Stripe::APIOperations::Create
|
|
include Stripe::APIOperations::Delete
|
|
extend Stripe::APIOperations::List
|
|
include Stripe::APIOperations::Save
|
|
extend Stripe::APIOperations::NestedResource
|
|
|
|
OBJECT_NAME = "subscription_item"
|
|
|
|
nested_resource_class_methods :usage_record, operations: %i[create]
|
|
nested_resource_class_methods :usage_record_summary,
|
|
operations: %i[list],
|
|
resource_plural: "usage_record_summaries"
|
|
end
|
|
end
|