Method: Fabricio::Networking::AppRequestModelFactory#daily_active_request_model
- Defined in:
- lib/fabricio/networking/app_request_model_factory.rb
#daily_active_request_model(session, app_id, start_time, end_time, build) ⇒ Fabricio::Networking::RequestModel
Returns a request model for obtaining the count of daily active users
84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/fabricio/networking/app_request_model_factory.rb', line 84 def daily_active_request_model(session, app_id, start_time, end_time, build) path = growth_analytics_endpoint(session, app_id, 'daily_active') params = time_range_params(start_time, end_time) params['build'] = build model = Fabricio::Networking::RequestModel.new do |config| config.type = :GET config.base_url = FABRIC_API_URL config.api_path = path config.params = params end model end |