Module: Termtter::API
- Defined in:
- lib/termtter/api.rb
Class Attribute Summary collapse
-
.connection ⇒ Object
readonly
Returns the value of attribute connection.
-
.twitter ⇒ Object
readonly
Returns the value of attribute twitter.
Class Method Summary collapse
Class Attribute Details
.connection ⇒ Object (readonly)
Returns the value of attribute connection.
6 7 8 |
# File 'lib/termtter/api.rb', line 6 def connection @connection end |
.twitter ⇒ Object (readonly)
Returns the value of attribute twitter.
6 7 8 |
# File 'lib/termtter/api.rb', line 6 def twitter @twitter end |
Class Method Details
.setup ⇒ Object
7 8 9 10 |
# File 'lib/termtter/api.rb', line 7 def setup @connection = Connection.new @twitter = Termtter::Twitter.new(configatron.user_name, configatron.password, @connection) end |