Method: OEHClient::Realtime::Response#is_negative?
- Defined in:
- lib/oehclient/realtime/response.rb
permalink #is_negative? ⇒ Boolean
returns true if the current response is a negative response
69 70 71 |
# File 'lib/oehclient/realtime/response.rb', line 69 def is_negative? ( @sentiment.casecmp(SENTIMENT_NEGATIVE) == 0) end |