class VzaarApi::Video::Subtitle
Constants
- ATTR_ACCESSORS
- ATTR_READERS
- ENDPOINT
Public Class Methods
create(video_id, attrs = {})
click to toggle source
# File lib/vzaar_api/video/subtitle.rb, line 33 def self.create(video_id, attrs = {}) VzaarApi::Strategy::Subtitle::Create.new(video_id, attrs, self).execute end
new(attrs = {})
click to toggle source
# File lib/vzaar_api/video/subtitle.rb, line 25 def initialize(attrs = {}) @scope_id = attrs.delete(:scope_id) end
paginate(video_id, query = {})
click to toggle source
Calls superclass method
# File lib/vzaar_api/video/subtitle.rb, line 29 def self.paginate(video_id, query = {}) super query.merge(scope_id: video_id) end