module Phlanket
The main Blanket module
Constants
- STATUSES
A Map of “error” HTTP status codes and their names
- VERSION
Current gem version
Public Class Methods
stringify_keys(hash)
click to toggle source
# File lib/phlanket/utils.rb, line 2 def self.stringify_keys(hash) hash.inject({}) {|memo,(k,v)| memo[k.to_s] = v; memo} end
wrap(*args)
click to toggle source
Wraps an API using Blanket::Wrapper
# File lib/phlanket.rb, line 10 def self.wrap(*args) Wrapper.new *args end