mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
18 lines
529 B
Ruby
18 lines
529 B
Ruby
# 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
|
|
|
|
OBJECT_NAME = "subscription_item".freeze
|
|
|
|
def usage_record_summaries(params = {}, opts = {})
|
|
resp, opts = request(:get, resource_url + "/usage_record_summaries", params, Util.normalize_opts(opts))
|
|
Util.convert_to_stripe_object(resp.data, opts)
|
|
end
|
|
end
|
|
end
|