zmoazeni/harvested — Issue #19: harvest.users.all fails
Author: bretwilcox
Created: 2011-10-31 19:09:32+00:00
State: open

This was previously working but now fails. Perhaps a change to the API has caused this? Here is the error that is displayed when I run my script

/gems/hashie-1.2.0/lib/hashie/dash.rb:127:in `assert_property_exists!': The property 'can_create_invoices' is not defined for this Dash. (NoMethodError)
from /gems/hashie-1.2.0/lib/hashie/dash.rb:119:in `[]='
from /gems/hashie-1.2.0/lib/hashie/dash.rb:97:in `block in initialize'
from /gems/hashie-1.2.0/lib/hashie/dash.rb:96:in `each_pair'
from /gems/hashie-1.2.0/lib/hashie/dash.rb:96:in `initialize'
from /gems/harvested-0.4.0/lib/harvest/user.rb:63:in `initialize'
from /gems/harvested-0.4.0/lib/harvest/model.rb:61:in `new'
from /gems/harvested-0.4.0/lib/harvest/model.rb:61:in `block in parse'
from /gems/harvested-0.4.0/lib/harvest/model.rb:61:in `map'
from /gems/harvested-0.4.0/lib/harvest/model.rb:61:in `parse'
from /gems/harvested-0.4.0/lib/harvest/behavior/crud.rb:8:in `all'
from (eval):3:in `block in all'
from /gems/harvested-0.4.0/lib/harvest/hardy_client.rb:59:in `retry_rate_limits'
from (eval):2:in `all'
from main.rb:25:in `getHarvestUsers'
from main.rb:32:in `

'*

Thanks!