Method: Tenk::Client#initialize
- Defined in:
- lib/client.rb
#initialize(options = {}, &block) ⇒ Client
Initialize a new Tenk client
24 25 26 27 28 29 |
# File 'lib/client.rb', line 24 def initialize( = {}, &block) self.configuration = Configuration.new() self.logger = configuration.logger yield_or_eval(&block) if block_given? end |