Class: Pay::Asaas::Api::Customer
- Inherits:
-
Pay::Asaas::ApiClient
- Object
- Pay::Asaas::ApiClient
- Pay::Asaas::Api::Customer
- Defined in:
- lib/pay/asaas/api/customer.rb
Class Method Summary collapse
-
.create(params:) ⇒ Object
Set notificationDisabled by default.
- .resource_key ⇒ Object
Methods inherited from Pay::Asaas::ApiClient
all, configure, find, headers, request, update
Class Method Details
.create(params:) ⇒ Object
Set notificationDisabled by default
10 11 12 13 14 |
# File 'lib/pay/asaas/api/customer.rb', line 10 def self.create(params:) params[:notificationDisabled] = true if params[:notificationDisabled].blank? super end |
.resource_key ⇒ Object
5 6 7 |
# File 'lib/pay/asaas/api/customer.rb', line 5 def self.resource_key "customers" end |