Sha256: 879b903ef23535e5d0e36a9deb881495dc97baa7534e80e099ffaecd799aef51
Contents?: true
Size: 652 Bytes
Versions: 11
Compression:
Stored size: 652 Bytes
Contents
module CurrencyCloud class Account include CurrencyCloud::Resource resource :accounts actions :create, :retrieve, :find, :update, :current def self.get_payment_charges_settings(account_id, params={}) settings = client.get("#{account_id}/payment_charges_settings", params) settings["payment_charges_settings"].map { |s| AccountPaymentChargesSetting.new(s) } end def self.update_payment_charges_settings(account_id, charge_settings_id, params) settings = client.post("#{account_id}/payment_charges_settings/#{charge_settings_id}", params) AccountPaymentChargesSetting.new(settings) end end end
Version data entries
11 entries across 11 versions & 1 rubygems