Module: T411
- Defined in:
- lib/t411.rb,
lib/t411/api.rb,
lib/t411/users.rb,
lib/t411/version.rb,
lib/t411/torrents.rb,
lib/t411/bookmarks.rb
Defined Under Namespace
Modules: Api, Bookmarks, Torrents, Users
Constant Summary collapse
- VERSION =
'0.0.9'
Instance Attribute Summary
Attributes included from Api
Class Method Summary collapse
Methods included from Bookmarks
Methods included from Torrents
Methods included from Users
Methods included from Api
connect, request_data, shared_token
Class Method Details
.authenticate(username, password) ⇒ Object
42 43 44 |
# File 'lib/t411.rb', line 42 def authenticate(username,password) T411::Api.connect(username,password) end |
.authenticated? ⇒ Boolean
46 47 48 |
# File 'lib/t411.rb', line 46 def authenticated? T411::Api.shared_token ? true : false end |