freeagent_api
freeagent_api copied to clipboard
Simple Ruby wrapper for the Freeagent Central API.
Hey guys, just adding a minor change for accessing invoices right from the contacts model.
Invoice.find 1197157 NoMethodError: undefined method `BigDecimal' for Hash:Class from /Users/tomh/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.0.beta/lib/active_support/core_ext/hash/conversions.rb:52:in`block in class:Hash' from /Users/tomh/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.0.beta/lib/active_support/core_ext/hash/conversions.rb:211:in `call' from /Users/tomh/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.0.beta/lib/active_support/core_ext/hash/conversions.rb:211:in`typecast_xml_value' from /Users/tomh/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.0.beta/lib/active_support/core_ext/hash/conversions.rb:228:in `block in typecast_xml_value' from /Users/tomh/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.0.beta/lib/active_support/core_ext/hash/conversions.rb:227:in`each' from /Users/tomh/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.0.beta/lib/active_support/core_ext/hash/conversions.rb:227:in `inject' from /Users/tomh/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.0.beta/lib/active_support/core_ext/hash/conversions.rb:227:in`typecast_xml_value' from...