Apparently, 0.8.1 and 0.9.0 breaks undocumented support for string keys. We have no test coverage for passing in attribute names as strings, but apparently, that worked in 0.8.0 and is not broken in newer versions due to dry lib upgrades.
Supporting this should be as simple as adding transform_keys(&:to_sym) to lib/fortnox/api/types/model.rb 😄
Note that this should be fixed both for 0.8.1 and 0.9.0.
Apparently,
0.8.1
and0.9.0
breaks undocumented support for string keys. We have no test coverage for passing in attribute names as strings, but apparently, that worked in0.8.0
and is not broken in newer versions due to dry lib upgrades.Supporting this should be as simple as adding
transform_keys(&:to_sym)
tolib/fortnox/api/types/model.rb
😄Note that this should be fixed both for
0.8.1
and0.9.0
.