Class: PRXAccess::PRXHyperResource
- Inherits:
-
HyperResource
- Object
- HyperResource
- PRXAccess::PRXHyperResource
- Defined in:
- lib/prx_access/prx_hyper_resource.rb
Defined Under Namespace
Classes: Link
Instance Method Summary collapse
Instance Method Details
#incoming_body_filter(hash) ⇒ Object
8 9 10 |
# File 'lib/prx_access/prx_hyper_resource.rb', line 8 def incoming_body_filter(hash) super(hash.deep_transform_keys { |key| key.to_s.underscore }) end |
#outgoing_body_filter(hash) ⇒ Object
12 13 14 |
# File 'lib/prx_access/prx_hyper_resource.rb', line 12 def outgoing_body_filter(hash) super(hash.deep_transform_keys { |key| key.to_s.camelize(:lower) }) end |