Sha256: 30aea5eabc764fdb9c5c1fee4f1b753e05aa7305623424adef1bfea7438751d5
Contents?: true
Size: 936 Bytes
Versions: 5
Compression:
Stored size: 936 Bytes
Contents
# Fn::TasksApi All URIs are relative to *https://127.0.0.1:8080/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**tasks_get**](TasksApi.md#tasks_get) | **GET** /tasks | Get next task. # **tasks_get** > TaskWrapper tasks_get Get next task. Gets the next task in the queue, ready for processing. Consumers should start processing tasks in order. No other consumer can retrieve this task. ### Example ```ruby # load the gem require 'fn_ruby' api_instance = Fn::TasksApi.new begin #Get next task. result = api_instance.tasks_get p result rescue Fn::ApiError => e puts "Exception when calling TasksApi->tasks_get: #{e}" end ``` ### Parameters This endpoint does not need any parameter. ### Return type [**TaskWrapper**](TaskWrapper.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
fn_ruby-0.2.1 | docs/TasksApi.md |
fn_ruby-0.2.0 | docs/TasksApi.md |
fn_ruby-0.1.32 | docs/TasksApi.md |
fn_ruby-0.1.31 | docs/TasksApi.md |
fn_ruby-0.1.30 | docs/TasksApi.md |