class Wego::Response

Public Class Methods

parse_json(response) click to toggle source
# File lib/wego/response.rb, line 3
def self.parse_json(response)
  JSON.parse(response, object_class: Wego::OpenStruct)
end