Sha256: a9f623183c2c5c558e2578d4540845cb74431a9976e9aa30d0e8d2bdbac60715
Contents?: true
Size: 641 Bytes
Versions: 2
Compression:
Stored size: 641 Bytes
Contents
require 'surveygizmo/api' require 'surveygizmo/client' require 'surveygizmo/configuration' module Surveygizmo extend Configuration class << self # Alias for Surveygizmo::Client.new # # @return [Surveygizmo::Client] def new(options={}) Surveygizmo::Client.new(options) end # Delegate to Surveygizmo::Client def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end def respond_to?(method, include_private = false) new.respond_to?(method, include_private) || super(method, include_private) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
surveygizmo-0.0.2 | lib/surveygizmo.rb |
surveygizmo-0.0.1 | lib/surveygizmo.rb |