Class: Urbanairship::Reports::TimeInAppList
- Inherits:
-
Common::PageIterator
- Object
- Common::PageIterator
- Urbanairship::Reports::TimeInAppList
- Defined in:
- lib/urbanairship/reports/response_statistics.rb
Constant Summary
Constants included from Common
Instance Attribute Summary
Attributes inherited from Common::PageIterator
Instance Method Summary collapse
-
#initialize(client: required('client'), start_date: required('start_date'), end_date: required('end_date'), precision: required('precision')) ⇒ TimeInAppList
constructor
A new instance of TimeInAppList.
Methods inherited from Common::PageIterator
Methods included from Loggable
create_logger, logger, #logger
Methods included from Common
#apid_path, #channel_path, #compact_helper, #create_and_send_path, #custom_events_path, #device_token_path, #experiments_path, #lists_path, #named_users_path, #open_channel_path, #pipelines_path, #push_path, #reports_path, #required, #schedules_path, #segments_path, #tag_lists_path, #try_helper
Constructor Details
#initialize(client: required('client'), start_date: required('start_date'), end_date: required('end_date'), precision: required('precision')) ⇒ TimeInAppList
Returns a new instance of TimeInAppList.
159 160 161 162 163 164 165 |
# File 'lib/urbanairship/reports/response_statistics.rb', line 159 def initialize(client: required('client'), start_date: required('start_date'), end_date: required('end_date'), precision: required('precision')) super(client: client) period_params = Helper.new.get_period_params(start_date, end_date, precision) @next_page_path = reports_path('timeinapp/' + period_params) @data_attribute = 'timeinapp' end |