Module: KewegoParty::Client::Video
- Included in:
- KewegoParty::Client
- Defined in:
- lib/kewego_party/client/video.rb
Instance Method Summary collapse
-
#video_get_details(sig, full_details = false) ⇒ Hashie::Rash
Information related to a video.
-
#video_get_stats(sig, options = {}) ⇒ Hashie::Rash
Returns the stats of a video.
Instance Method Details
#video_get_details(sig, full_details = false) ⇒ Hashie::Rash
Information related to a video
13 14 15 16 17 |
# File 'lib/kewego_party/client/video.rb', line 13 def video_get_details(sig, full_details = false) = {:sig => sig, :fullDetails => full_details, :appToken => app_token} response = get("/video/getDetails/", ) process_response(response, []) end |
#video_get_stats(sig, options = {}) ⇒ Hashie::Rash
Returns the stats of a video.
29 30 31 32 33 |
# File 'lib/kewego_party/client/video.rb', line 29 def video_get_stats(sig, = {}) = {:type => 'day', :value => 15, :sig => sig, :appToken => app_token}.merge response = get("/video/getStats/", ) process_response(response, [:stats]) end |