Class: Suitcase::Configuration
- Inherits:
-
Object
- Object
- Suitcase::Configuration
- Defined in:
- lib/suitcase/configuration.rb
Class Method Summary (collapse)
- + (Object) cache
- + (Object) cache=(store)
- + (Boolean) cache?
- + (Object) hotel_api_key
- + (Object) hotel_api_key=(key)
- + (Object) hotel_cid
- + (Object) hotel_cid=(cid)
Class Method Details
+ (Object) cache
7 8 9 |
# File 'lib/suitcase/configuration.rb', line 7 def self.cache return @@cache if cache? end |
+ (Object) cache=(store)
3 4 5 |
# File 'lib/suitcase/configuration.rb', line 3 def self.cache=(store) @@cache = Suitcase::Cache.new(store) end |
+ (Boolean) cache?
11 12 13 |
# File 'lib/suitcase/configuration.rb', line 11 def self.cache? defined? @@cache end |
+ (Object) hotel_api_key
19 20 21 |
# File 'lib/suitcase/configuration.rb', line 19 def self.hotel_api_key @@hotel_api_key end |
+ (Object) hotel_api_key=(key)
15 16 17 |
# File 'lib/suitcase/configuration.rb', line 15 def self.hotel_api_key=(key) @@hotel_api_key = key end |
+ (Object) hotel_cid
27 28 29 |
# File 'lib/suitcase/configuration.rb', line 27 def self.hotel_cid @@hotel_cid if defined? @@hotel_cid end |
+ (Object) hotel_cid=(cid)
23 24 25 |
# File 'lib/suitcase/configuration.rb', line 23 def self.hotel_cid=(cid) @@hotel_cid = cid end |