Class: Recurly::Invoice
Overview
Invoices are created through account objects.
Instance Attribute Summary
Attributes inherited from Resource
#attributes, #etag, #response, #uri
Class Method Summary collapse
- .account ⇒ Account
-
.collected ⇒ Pager<Invoice>
A pager that yields
collected
invoices. -
.failed ⇒ Pager<Invoice>
A pager that yields
failed
invoices. -
.open ⇒ Pager<Invoice>
A pager that yields
open
invoices. -
.past_due ⇒ Pager<Invoice>
A pager that yields
past_due
invoices.
Methods inherited from Resource
#==, all, associations, belongs_to, #changed, #changed?, #changed_attributes, #changes, collection_name, count, create, create!, define_attribute_methods, #destroy, #destroyed?, embedded!, #errors, find, find_each, first, from_response, from_xml, has_many, has_one, #initialize, #inspect, member_name, member_path, #new_record?, paginate, #persist!, #persisted?, #previous_changes, #read_attribute, reflect_on_association, #reload, resource_name, #save, #save!, scope, scopes, #to_param, #to_xml, #update_attributes, #update_attributes!, #valid?, #write_attribute
Constructor Details
This class inherits a constructor from Recurly::Resource
Class Method Details
.collected ⇒ Pager<Invoice>
Returns A pager that yields collected
invoices.
12 |
# File 'lib/recurly/invoice.rb', line 12 scope :collected, :state => :collected |
.failed ⇒ Pager<Invoice>
Returns A pager that yields failed
invoices.
13 |
# File 'lib/recurly/invoice.rb', line 13 scope :failed, :state => :failed |