Sha256: 8035ca373bfe19dc273cb19319302f2ecc0373b1f301d205d06a6d839b0ddb92
Contents?: true
Size: 467 Bytes
Versions: 4
Compression:
Stored size: 467 Bytes
Contents
require 'trell/version' require 'trell/client' module Trell class << self include Trell::Configurable def client unless defined?(@client) && @client.same_options?(options) @client = Trell::Client.new(options) end @client end private def method_missing(method_name, *args, &block) return super unless client.respond_to?(method_name) client.send(method_name, *args, &block) end end end Trell.setup
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
trell-0.0.4 | lib/trell.rb |
trell-0.0.3 | lib/trell.rb |
trell-0.0.2 | lib/trell.rb |
trell-0.0.1 | lib/trell.rb |