Sha256: 119044acdb5f6d82a5e666bf0610e7aa45ec7f99cfd20b1e5beed2b52e774a85
Contents?: true
Size: 615 Bytes
Versions: 9
Compression:
Stored size: 615 Bytes
Contents
module Recurly class Credit < Base self.element_name = "credit" self.prefix = "/accounts/:account_code/" def self.known_attributes [ "account_code", "quantity", "unit_amount_in_cents", "amount_in_cents", # quantity * unit_amount_in_cents "start_date", "end_date", "description", "created_at" ] end def self.list(account_code) find(:all, :params => { :account_code => account_code }) end def self.lookup(account_code, id) find(id, :params => { :account_code => account_code }) end end end
Version data entries
9 entries across 9 versions & 1 rubygems