Sha256: 302f361fcbf8d7baa13f9fc2534406e901ee36eb9839cf3316fc22f5b080210e
Contents?: true
Size: 725 Bytes
Versions: 2
Compression:
Stored size: 725 Bytes
Contents
require File.expand_path('../formi9/error', __FILE__) require File.expand_path('../formi9/configuration', __FILE__) require File.expand_path('../formi9/api', __FILE__) require File.expand_path('../formi9/client', __FILE__) module Formi9 extend Configuration # Alias for Formi9::Client.new # # @return [Formi9::Client] def self.client(options={}) Formi9::Client.new(options) end # Delegate to Formi9::Client def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end # Delegate to Formi9::Client def self.respond_to?(method, include_all=false) return client.respond_to?(method, include_all) || super end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
formi9-0.1.8 | lib/formi9.rb |
formi9-0.1.7 | lib/formi9.rb |