Class: Suitcase::Configuration
- Inherits:
-
Object
- Object
- Suitcase::Configuration
- Defined in:
- lib/suitcase/configuration.rb
Class Attribute Summary collapse
-
.cache ⇒ Object
Returns the value of attribute cache.
-
.hotel_api_key ⇒ Object
Returns the value of attribute hotel_api_key.
-
.hotel_cid ⇒ Object
Returns the value of attribute hotel_cid.
-
.hotel_shared_secret ⇒ Object
Returns the value of attribute hotel_shared_secret.
-
.hotwire_api_key ⇒ Object
Returns the value of attribute hotwire_api_key.
-
.hotwire_linkshare_id ⇒ Object
Returns the value of attribute hotwire_linkshare_id.
Class Method Summary collapse
Class Attribute Details
.cache ⇒ Object
Returns the value of attribute cache.
11 12 13 |
# File 'lib/suitcase/configuration.rb', line 11 def cache @cache end |
.hotel_api_key ⇒ Object
Returns the value of attribute hotel_api_key.
8 9 10 |
# File 'lib/suitcase/configuration.rb', line 8 def hotel_api_key @hotel_api_key end |
.hotel_cid ⇒ Object
Returns the value of attribute hotel_cid.
8 9 10 |
# File 'lib/suitcase/configuration.rb', line 8 def hotel_cid @hotel_cid end |
.hotel_shared_secret ⇒ Object
Returns the value of attribute hotel_shared_secret.
8 9 10 |
# File 'lib/suitcase/configuration.rb', line 8 def hotel_shared_secret @hotel_shared_secret end |
.hotwire_api_key ⇒ Object
Returns the value of attribute hotwire_api_key.
8 9 10 |
# File 'lib/suitcase/configuration.rb', line 8 def hotwire_api_key @hotwire_api_key end |
.hotwire_linkshare_id ⇒ Object
Returns the value of attribute hotwire_linkshare_id.
8 9 10 |
# File 'lib/suitcase/configuration.rb', line 8 def hotwire_linkshare_id @hotwire_linkshare_id end |
Class Method Details
.method_missing(method, *args, &blk) ⇒ Object
17 18 19 20 21 |
# File 'lib/suitcase/configuration.rb', line 17 def method_missing(method, *args, &blk) if method.to_s =~ /(.+)\?/ send($1.to_sym) end end |