xero-gateway/xero_gateway — pull request #63 by felixibel (2014-06-22 21:34:37+00:00)
Title: Get reports

Generic support to get any report.

example:
result = gateway.get_report("BankStatement", bank_account_id: “your-id”, from_date: “2013-06-23”, to_date: “2014-06-23”)

result.report.is_a? Report # => true
result.report.body.each do |row|
# row.column_1, row.column_2, etc
end