Closed taylorthurlow closed 6 years ago
Looks like I made the incorrect assumption that symbolize_keys
was a ruby thing, and not an ActiveSupport
thing. Builds are failing. I'm wondering if the best solution would be to implement something similar and use that? Or just make sure that documentation explicitly states that hashes must use symbols and not strings? Personally I'm not a fan of the latter.
Corrects an issue where the expiry timestamp of the options hash when creating a security policy is ignored, because the options hash was passed in using string hash keys, and not symbol hash keys. Solved by calling symbolize_keys on the options hash when generating.
Fixes https://github.com/filestack/filestack-ruby/issues/18
I decided against adding or altering any tests, because the current generate test stubs out the hash and signature anyways.