Class: OxfordDictionary::Deserialize
- Inherits:
-
Object
- Object
- OxfordDictionary::Deserialize
- Defined in:
- lib/oxford_dictionary/deserialize.rb
Instance Method Summary collapse
Instance Method Details
#call(payload) ⇒ Object
5 6 7 |
# File 'lib/oxford_dictionary/deserialize.rb', line 5 def call(payload) JSON.parse(payload, object_class: OpenStruct) end |