Class: TweetomatorConfig
- Inherits:
-
Object
- Object
- TweetomatorConfig
- Includes:
- Validatable
- Defined in:
- lib/config/config.rb
Instance Attribute Summary collapse
-
#blacklist ⇒ Object
readonly
Returns the value of attribute blacklist.
-
#composer_type ⇒ Object
readonly
Returns the value of attribute composer_type.
-
#delay_in_seconds ⇒ Object
readonly
Returns the value of attribute delay_in_seconds.
-
#flickr_config ⇒ Object
readonly
Returns the value of attribute flickr_config.
-
#input_text_file ⇒ Object
readonly
Returns the value of attribute input_text_file.
-
#stop_words ⇒ Object
readonly
Returns the value of attribute stop_words.
-
#topics ⇒ Object
readonly
Returns the value of attribute topics.
-
#twitter_config ⇒ Object
readonly
Returns the value of attribute twitter_config.
Instance Method Summary collapse
-
#initialize(twitter_config, flickr_config, topics, blacklist, stop_words, delay_in_seconds, composer_type, input_text_file) ⇒ TweetomatorConfig
constructor
A new instance of TweetomatorConfig.
Methods included from Validatable
Constructor Details
#initialize(twitter_config, flickr_config, topics, blacklist, stop_words, delay_in_seconds, composer_type, input_text_file) ⇒ TweetomatorConfig
Returns a new instance of TweetomatorConfig.
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/config/config.rb', line 42 def initialize(twitter_config, flickr_config, topics, blacklist, stop_words, delay_in_seconds, composer_type, input_text_file) @twitter_config = twitter_config @flickr_config = flickr_config @topics = topics @blacklist = blacklist @stop_words = stop_words @delay_in_seconds = delay_in_seconds @composer_type = composer_type @input_text_file = input_text_file end |
Instance Attribute Details
#blacklist ⇒ Object (readonly)
Returns the value of attribute blacklist.
40 41 42 |
# File 'lib/config/config.rb', line 40 def blacklist @blacklist end |
#composer_type ⇒ Object (readonly)
Returns the value of attribute composer_type.
40 41 42 |
# File 'lib/config/config.rb', line 40 def composer_type @composer_type end |
#delay_in_seconds ⇒ Object (readonly)
Returns the value of attribute delay_in_seconds.
40 41 42 |
# File 'lib/config/config.rb', line 40 def delay_in_seconds @delay_in_seconds end |
#flickr_config ⇒ Object (readonly)
Returns the value of attribute flickr_config.
40 41 42 |
# File 'lib/config/config.rb', line 40 def flickr_config @flickr_config end |
#input_text_file ⇒ Object (readonly)
Returns the value of attribute input_text_file.
40 41 42 |
# File 'lib/config/config.rb', line 40 def input_text_file @input_text_file end |
#stop_words ⇒ Object (readonly)
Returns the value of attribute stop_words.
40 41 42 |
# File 'lib/config/config.rb', line 40 def stop_words @stop_words end |
#topics ⇒ Object (readonly)
Returns the value of attribute topics.
40 41 42 |
# File 'lib/config/config.rb', line 40 def topics @topics end |
#twitter_config ⇒ Object (readonly)
Returns the value of attribute twitter_config.
40 41 42 |
# File 'lib/config/config.rb', line 40 def twitter_config @twitter_config end |