Module: Zyterb
- Defined in:
- lib/zyterb.rb,
lib/zyterb/client.rb
Defined Under Namespace
Classes: Client, Configuration, Error
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
15
16
17
|
# File 'lib/zyterb.rb', line 15
def configuration
@configuration ||= Configuration.new
end
|
.configuration=(config) ⇒ Object
19
20
21
|
# File 'lib/zyterb.rb', line 19
def configuration=(config)
@configuration = config
end
|
23
24
25
|
# File 'lib/zyterb.rb', line 23
def configure
yield(configuration)
end
|
.reset ⇒ Object
27
28
29
|
# File 'lib/zyterb.rb', line 27
def reset
@configuration = Configuration.new
end
|