Class: Overlord::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/overlord/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



23
24
25
26
27
28
29
30
# File 'lib/overlord/config.rb', line 23

def initialize
  @google_ajax_api_key = nil
  @request_referer = nil
  @google_ad_partner_pub = nil
  @show_google_search = true
  @load_feeds_on_server = false
  @combine_feeds_on_server = false
end

Instance Attribute Details

#combine_feeds_on_serverObject

Returns the value of attribute combine_feeds_on_server.



20
21
22
# File 'lib/overlord/config.rb', line 20

def combine_feeds_on_server
  @combine_feeds_on_server
end

Returns the value of attribute google_ad_partner_pub.



21
22
23
# File 'lib/overlord/config.rb', line 21

def google_ad_partner_pub
  @google_ad_partner_pub
end

#google_ajax_api_keyObject

Returns the value of attribute google_ajax_api_key.



16
17
18
# File 'lib/overlord/config.rb', line 16

def google_ajax_api_key
  @google_ajax_api_key
end

#load_feeds_on_serverObject

Returns the value of attribute load_feeds_on_server.



19
20
21
# File 'lib/overlord/config.rb', line 19

def load_feeds_on_server
  @load_feeds_on_server
end

#request_refererObject

Returns the value of attribute request_referer.



17
18
19
# File 'lib/overlord/config.rb', line 17

def request_referer
  @request_referer
end

#show_google_searchObject

Returns the value of attribute show_google_search.



18
19
20
# File 'lib/overlord/config.rb', line 18

def show_google_search
  @show_google_search
end