Class: Mediafire::Client
- Inherits:
-
Object
- Object
- Mediafire::Client
- Includes:
- API
- Defined in:
- lib/mediafire/client.rb
Constant Summary
Constants included from Connection
Mediafire::Connection::ENDPOINT
Instance Attribute Summary collapse
-
#datas ⇒ Object
Returns the value of attribute datas.
-
#root_folder ⇒ Object
Returns the value of attribute root_folder.
Instance Method Summary collapse
-
#initialize ⇒ Client
constructor
A new instance of Client.
Methods included from API
#create_folder, #delete, #description, #download, #download_image, #downloads, #dropbox_setup, #dropbox_setup_option, #dropbox_upload, #file_list, #folder_list, #image_rotation, #is_loggedin?, #list, #login, #move, #password, #rename, #revision, #save_file_to_my_account, #toggle_acl, #update, #upload
Methods included from Connection
#get, #has_multipart?, #post, #request, #upload_size
Constructor Details
#initialize ⇒ Client
Returns a new instance of Client.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/mediafire/client.rb', line 8 def initialize() @loggedin = false @cookie = {} @s_queue = Queue.new @r_queue = Queue.new @root_folder = nil toppage end |
Instance Attribute Details
#datas ⇒ Object
Returns the value of attribute datas.
6 7 8 |
# File 'lib/mediafire/client.rb', line 6 def datas @datas end |
#root_folder ⇒ Object
Returns the value of attribute root_folder.
6 7 8 |
# File 'lib/mediafire/client.rb', line 6 def root_folder @root_folder end |