Sha256: dbbbdbd2d6a2b5b354df16c7c5da4a1a036418da8722d6ee58ddedaafd7d39b9
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
require "devrant/version" require "httparty" require "json" require "pry" require "devrant/api" require "devrant/rants" require "devrant/users" module Devrant def structuralize(json) JSON.parse(json.body, object_class: OpenStruct) end def extend_request_query(options) { query: self.class.default_options[:query].merge(options) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devrant-0.9.0 | lib/devrant.rb |