class Zype::Analytics
This class only supports stream_hours
Read more at docs.zype.com/v1.0/reference#stream-hours
@since 0.20.0
Public Instance Methods
stream_hours(params: {})
click to toggle source
Returns all objects for given class
@example params object might look like:
params = { filters: { start_date_gte: "2018-08-12 10:00", start_date_lte: "2018-08-13" }, group_by: ['video_id'] }, view_mode: 'detailed' }
@param params [Hash] the metadata to filter objects by @return [Hash] “data” will be the key, pointing to an array @example
# Return value { "data" => [] }
# File lib/zype/models/analytics.rb, line 26 def stream_hours(params: {}) client.execute(method: :get, path: '/stream_hours', params: params) end
Private Instance Methods
client_class()
click to toggle source
# File lib/zype/models/analytics.rb, line 32 def client_class Zype::AnalyticsClient end