module Smartdc
Constants
- VERSION
Public Class Methods
client(options={})
click to toggle source
# File lib/smartdc.rb, line 16 def client(options={}) @client = nil unless options.empty? @client ||= Smartdc::Client.new(options) end
config()
click to toggle source
# File lib/smartdc.rb, line 12 def config Smartdc::Configure end
configure() { |Configure| ... }
click to toggle source
# File lib/smartdc.rb, line 8 def configure yield Smartdc::Configure end
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/smartdc.rb, line 25 def method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end
root()
click to toggle source
# File lib/smartdc.rb, line 21 def root @root ||= File.expand_path('..', File.dirname(__FILE__)) end