Class: Tweetsentiments::API
- Inherits:
-
Object
- Object
- Tweetsentiments::API
- Includes:
- Connection, Request
- Defined in:
- lib/tweetsentiments/api.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
A new instance of API.
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ API
Returns a new instance of API.
7 8 9 10 11 12 |
# File 'lib/tweetsentiments/api.rb', line 7 def initialize(={}) = Tweetsentiments..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |