Class: MeaningCloud::Configuration
- Inherits:
-
Object
- Object
- MeaningCloud::Configuration
- Defined in:
- lib/meaning-cloud.rb
Overview
Main configuration class.
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#language ⇒ Object
Returns the value of attribute language.
-
#topic_types ⇒ Object
Returns the value of attribute topic_types.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
24 25 26 27 28 |
# File 'lib/meaning-cloud.rb', line 24 def initialize @key = nil @language = :en @topic_types = "ec" end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
20 21 22 |
# File 'lib/meaning-cloud.rb', line 20 def key @key end |
#language ⇒ Object
Returns the value of attribute language.
20 21 22 |
# File 'lib/meaning-cloud.rb', line 20 def language @language end |
#topic_types ⇒ Object
Returns the value of attribute topic_types.
20 21 22 |
# File 'lib/meaning-cloud.rb', line 20 def topic_types @topic_types end |