module Luchadeer

adapted from the 'twitter' gem github.com/sferik/twitter/blob/88d7b19e295f27e1dcf970b979585fa9d3984cd6/lib/twitter/rest/response/parse_json.rb

Constants

VERSION

Public Class Methods

client() click to toggle source
# File lib/luchadeer.rb, line 10
def client
  Thread.current[:luchadeer_client]
end
client=(new_client) click to toggle source
# File lib/luchadeer.rb, line 14
def client=(new_client)
  Thread.current[:luchadeer_client] = new_client
end
configure(opts = {}, &blk) click to toggle source
# File lib/luchadeer.rb, line 6
def configure(opts = {}, &blk)
  Luchadeer.client = Luchadeer::Client.new(opts, &blk)
end