Class: PDC::Resource::AttributeStore
- Inherits:
-
HashWithIndifferentAccess
- Object
- HashWithIndifferentAccess
- PDC::Resource::AttributeStore
- Defined in:
- lib/pdc/resource/attribute_store.rb
Instance Method Summary collapse
Instance Method Details
#to_params ⇒ Object
3 4 5 6 7 |
# File 'lib/pdc/resource/attribute_store.rb', line 3 def to_params each_with_object({}) do |(key, value), parameters| parameters[key] = parse_value(value) end.with_indifferent_access end |