We're currently passing in an ActiveSupport::HashWithIndifferentAccess to the Session.search, so the .each method only provides the String keys, not the Symbol version of the keys. Can you change this line to be : :view, 'view' (or symbolize all the keys in your .each and change the when's to all be Symbols)?
We're currently passing in an
ActiveSupport::HashWithIndifferentAccess
to theSession.search
, so the.each
method only provides the String keys, not the Symbol version of the keys. Can you change this line to be ::view, 'view'
(or symbolize all the keys in your.each
and change the when's to all be Symbols)?https://github.com/ebsco/edsapi-ruby/blob/master/lib/ebsco/eds/options.rb#L428