Class: Chargify::Transaction

Inherits:
Base
  • Object
show all
Defined in:
lib/chargify/transaction.rb

Instance Attribute Summary

Attributes inherited from Base

#errors

Class Method Summary collapse

Methods inherited from Base

api_request, #api_request, #attributes=, #initialize

Constructor Details

This class inherits a constructor from Chargify::Base

Class Method Details

.all(options = {}) ⇒ Object



6
7
8
9
# File 'lib/chargify/transaction.rb', line 6

def all(options={})
  result = api_request(:get, "/transactions.json", :query => options)
  result.map{|t| Hashie::Mash.new t['transaction']}
end