Module: NetworkExecutive::Components::TweetPlayer::ClassMethods
- Defined in:
- lib/network_executive/components/tweet_player.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#query ⇒ Object
Returns the value of attribute query.
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
27 28 29 |
# File 'lib/network_executive/components/tweet_player.rb', line 27 def client @client end |
#query ⇒ Object
Returns the value of attribute query.
27 28 29 |
# File 'lib/network_executive/components/tweet_player.rb', line 27 def query @query end |
Instance Method Details
#configure {|client| ... } ⇒ Object
33 34 35 |
# File 'lib/network_executive/components/tweet_player.rb', line 33 def configure yield client end |
#search(*args) ⇒ Object
37 38 39 |
# File 'lib/network_executive/components/tweet_player.rb', line 37 def search( *args ) @query = args end |
#tweets ⇒ Object
41 42 43 |
# File 'lib/network_executive/components/tweet_player.rb', line 41 def tweets client.search( *query ) end |