Class: Kerio::Api::Client
- Inherits:
-
Object
- Object
- Kerio::Api::Client
- Includes:
- ChainableMethod
- Defined in:
- lib/kerio-api/client.rb
Instance Method Summary collapse
-
#initialize(url: nil, insecure: false, debug: false) ⇒ Client
constructor
Create new instance of the client.
- #method_missing(method, *args, &block) ⇒ Object
Methods included from ChainableMethod
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
20 21 22 |
# File 'lib/kerio-api/client.rb', line 20 def method_missing(method, *args, &block) return next_method(names: [method], session: @session, args: args, block: block) end |