module Devrant
Constants
- VERSION
Public Instance Methods
extend_request(var, options)
click to toggle source
# File lib/devrant.rb, line 15 def extend_request(var, options) { "#{var}": self.class.default_options[:query].merge(options) } end
structuralize(json)
click to toggle source
# File lib/devrant.rb, line 11 def structuralize(json) JSON.parse(json.body, object_class: OpenStruct) end