Class: Mocodo::GooLanguageAnalysis
- Inherits:
-
Object
- Object
- Mocodo::GooLanguageAnalysis
- Defined in:
- lib/mocodo/goo_language_analysis.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#config_e ⇒ Object
Returns the value of attribute config_e.
-
#config_h ⇒ Object
Returns the value of attribute config_h.
-
#config_m ⇒ Object
Returns the value of attribute config_m.
-
#config_s ⇒ Object
Returns the value of attribute config_s.
Instance Method Summary collapse
-
#initialize(api_key) ⇒ GooLanguageAnalysis
constructor
A new instance of GooLanguageAnalysis.
Constructor Details
#initialize(api_key) ⇒ GooLanguageAnalysis
Returns a new instance of GooLanguageAnalysis.
8 9 10 11 |
# File 'lib/mocodo/goo_language_analysis.rb', line 8 def initialize(api_key) @client = Client.new(api_key) self.config_m = self.config_e = self.config_s = self.config_h = {} end |
Instance Attribute Details
#config_e ⇒ Object
Returns the value of attribute config_e.
6 7 8 |
# File 'lib/mocodo/goo_language_analysis.rb', line 6 def config_e @config_e end |
#config_h ⇒ Object
Returns the value of attribute config_h.
6 7 8 |
# File 'lib/mocodo/goo_language_analysis.rb', line 6 def config_h @config_h end |
#config_m ⇒ Object
Returns the value of attribute config_m.
6 7 8 |
# File 'lib/mocodo/goo_language_analysis.rb', line 6 def config_m @config_m end |
#config_s ⇒ Object
Returns the value of attribute config_s.
6 7 8 |
# File 'lib/mocodo/goo_language_analysis.rb', line 6 def config_s @config_s end |