Sha256: 96f5050810357684d108147e7457aa955c45c18c6a3e53c58ec492e54b1241f4

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

require "pay/asaas/client"
require "pay/asaas/api"

class Pay::Asaas::Api::Customer < Pay::Asaas::ApiClient
  def self.resource_key
    "customers"
  end

  # Set notificationDisabled by default
  def self.create(params:)
    params[:notificationDisabled] = true if params[:notificationDisabled].blank?

    super
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pay-asaas-0.1.0.pre.alpha lib/pay/asaas/api/customer.rb