mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
21 lines
509 B
Ruby
21 lines
509 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
module Issuing
|
|
class Card < APIResource
|
|
extend Stripe::APIOperations::Create
|
|
extend Stripe::APIOperations::List
|
|
include Stripe::APIOperations::Save
|
|
|
|
OBJECT_NAME = "issuing.card".freeze
|
|
|
|
custom_method :details, http_verb: :get
|
|
|
|
def details(params = {}, opts = {})
|
|
resp, opts = request(:get, resource_url + "/details", params, opts)
|
|
Util.convert_to_stripe_object(resp.data, opts)
|
|
end
|
|
end
|
|
end
|
|
end
|