# fn_ruby OracleFunctions - the Ruby gem for the IronFunctions The open source serverless platform. This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 0.1.29 - Package version: 0.1.29 - Build package: io.swagger.codegen.languages.RubyClientCodegen ## Installation ### Build a gem To build the Ruby code into a gem: ```shell gem build fn_ruby.gemspec ``` Then either install the gem locally: ```shell gem install ./fn_ruby-0.1.29.gem ``` (for development, run `gem install --dev ./fn_ruby-0.1.29.gem` to install the development dependencies) or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/). Finally add this to the Gemfile: gem 'fn_ruby', '~> 0.1.29' ### Install from Git If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile: gem 'fn_ruby', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.git' ### Include the Ruby code directly Include the Ruby code directly using `-I` as follows: ```shell ruby -Ilib script.rb ``` ## Getting Started Please follow the [installation](#installation) procedure and then run the following code: ```ruby # Load the gem require 'fn_ruby' api_instance = OracleFunctions::AppsApi.new app = "app_example" # String | Name of the app. begin #Delete an app. api_instance.apps_app_delete(app) rescue OracleFunctions::ApiError => e puts "Exception when calling AppsApi->apps_app_delete: #{e}" end ``` ## Documentation for API Endpoints All URIs are relative to *https://127.0.0.1:8080/v1* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *OracleFunctions::AppsApi* | [**apps_app_delete**](docs/AppsApi.md#apps_app_delete) | **DELETE** /apps/{app} | Delete an app. *OracleFunctions::AppsApi* | [**apps_app_get**](docs/AppsApi.md#apps_app_get) | **GET** /apps/{app} | Get information for a app. *OracleFunctions::AppsApi* | [**apps_app_patch**](docs/AppsApi.md#apps_app_patch) | **PATCH** /apps/{app} | Updates an app. *OracleFunctions::AppsApi* | [**apps_get**](docs/AppsApi.md#apps_get) | **GET** /apps | Get all app names. *OracleFunctions::AppsApi* | [**apps_post**](docs/AppsApi.md#apps_post) | **POST** /apps | Post new app *OracleFunctions::RoutesApi* | [**apps_app_routes_get**](docs/RoutesApi.md#apps_app_routes_get) | **GET** /apps/{app}/routes | Get route list by app name. *OracleFunctions::RoutesApi* | [**apps_app_routes_post**](docs/RoutesApi.md#apps_app_routes_post) | **POST** /apps/{app}/routes | Create new Route *OracleFunctions::RoutesApi* | [**apps_app_routes_route_delete**](docs/RoutesApi.md#apps_app_routes_route_delete) | **DELETE** /apps/{app}/routes/{route} | Deletes the route *OracleFunctions::RoutesApi* | [**apps_app_routes_route_get**](docs/RoutesApi.md#apps_app_routes_route_get) | **GET** /apps/{app}/routes/{route} | Gets route by name *OracleFunctions::RoutesApi* | [**apps_app_routes_route_patch**](docs/RoutesApi.md#apps_app_routes_route_patch) | **PATCH** /apps/{app}/routes/{route} | Update a Route *OracleFunctions::TasksApi* | [**tasks_get**](docs/TasksApi.md#tasks_get) | **GET** /tasks | Get next task. *OracleFunctions::VersionApi* | [**version_get**](docs/VersionApi.md#version_get) | **GET** /version | Get daemon version. ## Documentation for Models - [OracleFunctions::App](docs/App.md) - [OracleFunctions::AppWrapper](docs/AppWrapper.md) - [OracleFunctions::AppsWrapper](docs/AppsWrapper.md) - [OracleFunctions::Error](docs/Error.md) - [OracleFunctions::ErrorBody](docs/ErrorBody.md) - [OracleFunctions::NewTask](docs/NewTask.md) - [OracleFunctions::Route](docs/Route.md) - [OracleFunctions::RouteWrapper](docs/RouteWrapper.md) - [OracleFunctions::RoutesWrapper](docs/RoutesWrapper.md) - [OracleFunctions::TaskWrapper](docs/TaskWrapper.md) - [OracleFunctions::Version](docs/Version.md) - [OracleFunctions::Task](docs/Task.md) ## Documentation for Authorization All endpoints do not require authorization.