xero_gateway-float 2.1.6 → 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ module XeroGateway
10
10
  attr_reader :errors
11
11
 
12
12
  # All accessible fields
13
- attr_accessor :invoice_id, :invoice, :invoice_number, :account, :code, :payment_id, :date, :amount, :reference, :currency_rate, :account_id, :updated_date_utc
13
+ attr_accessor :invoice_id, :invoice, :invoice_number, :account, :code, :payment_id, :date, :amount, :reference, :currency_rate, :account_id, :updated_date_utc, :status, :payment_type
14
14
 
15
15
  def initialize(params = {})
16
16
  @errors ||= []
@@ -32,6 +32,7 @@ module XeroGateway
32
32
  when 'Invoice' then payment.invoice = Invoice.from_xml(element)
33
33
  when 'Account' then payment.account = Account.from_xml(element)
34
34
  when "UpdatedDateUTC" then payment.updated_date_utc = parse_utc_date_time(element.text)
35
+ when "PaymentType" then payment.payment_type = element.text
35
36
  end
36
37
  end
37
38
  payment
data/xero_gateway.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "xero_gateway-float"
3
- s.version = "2.1.6"
3
+ s.version = "2.1.7"
4
4
  s.date = "2012-01-22"
5
5
  s.summary = "Enables ruby based applications to communicate with the Xero API"
6
6
  s.email = "tim@connorsoftware.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xero_gateway-float
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 2.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: