Method: Fabricio::Networking::AppRequestModelFactory#all_apps_request_model
- Defined in:
- lib/fabricio/networking/app_request_model_factory.rb
#all_apps_request_model ⇒ Fabricio::Networking::RequestModel
Returns a request model for obtaining the list of all apps
19 20 21 22 23 24 25 26 |
# File 'lib/fabricio/networking/app_request_model_factory.rb', line 19 def all_apps_request_model model = Fabricio::Networking::RequestModel.new do |config| config.type = :GET config.base_url = FABRIC_API_URL config.api_path = FABRIC_API_PATH + FABRIC_APPS_ENDPOINT end model end |