Module: DirectEmployers
- Defined in:
- lib/direct_employers.rb,
lib/direct_employers/client.rb,
lib/direct_employers/request.rb,
lib/direct_employers/version.rb,
lib/direct_employers/connection.rb
Defined Under Namespace
Modules: Connection, Request Classes: Client
Constant Summary collapse
- VERSION =
"0.0.6"
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to DirectEmployers::Client.
- .new(options = {}) ⇒ Object
- .respond_to?(method, include_private = false) ⇒ Boolean
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate to DirectEmployers::Client
10 11 12 13 |
# File 'lib/direct_employers.rb', line 10 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new(options = {}) ⇒ Object
5 6 7 |
# File 'lib/direct_employers.rb', line 5 def new(={}) DirectEmployers::Client.new() end |
.respond_to?(method, include_private = false) ⇒ Boolean
15 16 17 |
# File 'lib/direct_employers.rb', line 15 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |