Sha256: 42b7c0adff5444f22d25467e4a350f1fbe462612fe03ecf2d7090991c000a822

Contents?: true

Size: 517 Bytes

Versions: 5

Compression:

Stored size: 517 Bytes

Contents

# frozen_string_literal: true

module Stripe
  module Issuing
    class Card < Stripe::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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stripe-4.16.0 lib/stripe/issuing/card.rb
stripe-4.15.0 lib/stripe/issuing/card.rb
stripe-4.14.0 lib/stripe/issuing/card.rb
stripe-4.13.0 lib/stripe/issuing/card.rb
stripe-4.12.0 lib/stripe/issuing/card.rb