ebsco / edsapi-ruby

A Ruby interface to the EBSCO Discovery Services API
MIT License
7 stars 10 forks source link

Allow 'view' (String) parameter for search options #49

Closed drh-stanford closed 7 years ago

drh-stanford commented 7 years ago

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)?

https://github.com/ebsco/edsapi-ruby/blob/master/lib/ebsco/eds/options.rb#L428

drh-stanford commented 7 years ago

this is working ok now