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.
- .ean_revision ⇒ Object
-
.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.
12 13 14 |
# File 'lib/suitcase/configuration.rb', line 12 def cache @cache end |
.ean_revision ⇒ Object
14 15 16 |
# File 'lib/suitcase/configuration.rb', line 14 def ean_revision @ean_revision || 15 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
22 23 24 25 26 |
# File 'lib/suitcase/configuration.rb', line 22 def method_missing(method, *args, &blk) if method.to_s =~ /(.+)\?/ send($1.to_sym) end end |