Module: GooglePerspective
- Defined in:
- lib/google_perspective.rb,
lib/google_perspective/client.rb,
lib/google_perspective/config.rb,
lib/google_perspective/version.rb,
lib/google_perspective/comment_analizer.rb
Defined Under Namespace
Classes: Client, CommentAnalyzer, Configuration
Constant Summary collapse
- VERSION =
'0.1.8'.freeze
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
3 4 5 |
# File 'lib/google_perspective/config.rb', line 3 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
6 7 8 9 |
# File 'lib/google_perspective/config.rb', line 6 def self.configure self.configuration ||= Configuration.new yield(configuration) end |