Module: Campi
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/campi.rb,
lib/campi/client.rb,
lib/campi/version.rb
Defined Under Namespace
Classes: Cache, Client, Configuration
Constant Summary collapse
- VERSION =
'0.0.2'
Class Attribute Summary collapse
-
.cache ⇒ Object
Returns the value of attribute cache.
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.cache ⇒ Object
Returns the value of attribute cache.
12 13 14 |
# File 'lib/campi.rb', line 12 def cache @cache end |
.configuration ⇒ Object
Returns the value of attribute configuration.
12 13 14 |
# File 'lib/campi.rb', line 12 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
15 16 17 18 |
# File 'lib/campi.rb', line 15 def self.configure self.configuration ||= Configuration.new yield(configuration) end |