Sha256: 793b1b3b25bbbb1ff64a443cfc83d845d31f24306672376fe6a085a720a9e877
Contents?: true
Size: 619 Bytes
Versions: 1
Compression:
Stored size: 619 Bytes
Contents
require 'carriots/client' require 'carriots/version' # # module Carriots class << self include Carriots::Configurable def client return @client if defined?(@client) && @client.same_options?(options) @client = Carriots::Client.new(options) end private def respond_to_missing?(method_name, include_private = false) client.respond_to?(method_name, include_private) end def method_missing(method_name, *args, &block) if client.respond_to?(method_name) return client.send(method_name, *args, &block) end super end end end Carriots.setup
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
carriots-0.0.2 | lib/carriots.rb |