Class: Suitcase::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/suitcase/configuration.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.cacheObject

Returns the value of attribute cache.



11
12
13
# File 'lib/suitcase/configuration.rb', line 11

def cache
  @cache
end

.hotel_api_keyObject

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_cidObject

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_secretObject

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_keyObject

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_idObject

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