Class: Wego::Response
- Inherits:
-
Object
- Object
- Wego::Response
- Defined in:
- lib/wego/response.rb
Class Method Summary collapse
Class Method Details
.parse_json(response) ⇒ Object
3 4 5 |
# File 'lib/wego/response.rb', line 3 def self.parse_json(response) JSON.parse(response, object_class: Wego::OpenStruct) end |