Module: KewegoParty::Client::Upload
- Included in:
- KewegoParty::Client
- Defined in:
- lib/kewego_party/client/upload.rb
Instance Method Summary collapse
-
#upload_get_available_categories ⇒ Array
List of categories available for a video upload.
-
#upload_get_upload_progress(upload_key) ⇒ Hashie::Rash
Status of a video upload.
Instance Method Details
#upload_get_available_categories ⇒ Array
List of categories available for a video upload
11 12 13 14 15 |
# File 'lib/kewego_party/client/upload.rb', line 11 def upload_get_available_categories = {:appToken => app_token} response = get("/upload/getAvailableCategories", ) process_response(response, [:categories, :category]) end |
#upload_get_upload_progress(upload_key) ⇒ Hashie::Rash
Status of a video upload
24 25 26 27 28 |
# File 'lib/kewego_party/client/upload.rb', line 24 def upload_get_upload_progress(upload_key) = {:appToken => app_token, :upload_key => upload_key} response = get("/upload/getUploadProgress", ) process_response(response, []) end |