Module: PawClient
- Defined in:
- lib/paw_client.rb,
lib/paw_client/version.rb
Defined Under Namespace
Classes: Client, Configuration
Constant Summary
collapse
- VERSION =
"0.0.7"
Class Method Summary
collapse
Class Method Details
.config(reload = false) ⇒ Object
7
8
9
10
11
12
|
# File 'lib/paw_client.rb', line 7
def self.config(reload=false)
if !@config||reload
@config=Configuration.new
end
@config
end
|
.config=(value) ⇒ Object
14
15
16
|
# File 'lib/paw_client.rb', line 14
def self.config=(value)
@config=value
end
|
18
19
20
|
# File 'lib/paw_client.rb', line 18
def self.configure(reload=false)
yield(config(reload))
end
|