class Siberite::Client::Json
Public Instance Methods
get(*args)
click to toggle source
# File lib/siberite/client/json.rb, line 6 def get(*args) response = client.get(*args) if response.is_a?(String) HashWithIndifferentAccess.new(JSON.parse(response)) rescue response else response end end