Sha256: 8ed718d07fde6b107ee07a6efedfc17523feaff3dd29b2b1a03f9bb5209b3cc5
Contents?: true
Size: 680 Bytes
Versions: 12
Compression:
Stored size: 680 Bytes
Contents
require 'desk/error' require 'desk/configuration' require 'desk/api' require 'desk/client' require 'pony' module Desk extend Configuration @counter = 0 @minute = Time.now.min class << self attr_accessor :counter, :minute # Alias for Desk::Client.new # # @return [Desk::Client] def client(options={}) Desk::Client.new(options) end # Delegate to Desk::Client def method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end def respond_to?(method, include_private=false) client.respond_to?(method, include_private) || super end end end
Version data entries
12 entries across 12 versions & 1 rubygems