Class: Pay::Asaas::Api::CreditCard
- Inherits:
-
Pay::Asaas::ApiClient
- Object
- Pay::Asaas::ApiClient
- Pay::Asaas::Api::CreditCard
- Defined in:
- lib/pay/asaas/api/credit_card.rb
Class Method Summary collapse
Methods inherited from Pay::Asaas::ApiClient
all, configure, create, find, headers, request, update
Class Method Details
.resource_key ⇒ Object
5 6 7 |
# File 'lib/pay/asaas/api/credit_card.rb', line 5 def self.resource_key "creditCard" end |
.tokenize(params:) ⇒ Object
9 10 11 |
# File 'lib/pay/asaas/api/credit_card.rb', line 9 def self.tokenize(params:) request(:post, "creditCards/tokenize", body: params.to_json) end |