Sha256: 49cd3d3507cb28d1029f0eacc8f47fab4f241afca0efd0842d6d6505ca42157e
Contents?: true
Size: 581 Bytes
Versions: 9
Compression:
Stored size: 581 Bytes
Contents
module Recurly class Charge < RecurlyBase self.element_name = "charge" self.prefix = "/accounts/:account_code/" def self.list(account_code, status = :all) params = {:account_code => account_code} if status != :all params[:show] = status.to_s end find(:all, :params => params) end def self.lookup(account_code, id) find(id, :params => { :account_code => account_code }) end # def destroy # reload # return false if respond_to?(:invoice_id) and invoice_id.present? # super # end end end
Version data entries
9 entries across 9 versions & 1 rubygems