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.



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

def cache
  @cache
end

.ean_revisionObject



14
15
16
# File 'lib/suitcase/configuration.rb', line 14

def ean_revision
  @ean_revision || 15
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



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