docs/RoutesApi.md in fn_ruby-0.1.29 vs docs/RoutesApi.md in fn_ruby-0.1.30
- old
+ new
@@ -1,6 +1,6 @@
-# OracleFunctions::RoutesApi
+# Fn::RoutesApi
All URIs are relative to *https://127.0.0.1:8080/v1*
Method | HTTP request | Description
------------- | ------------- | -------------
@@ -21,20 +21,20 @@
### Example
```ruby
# load the gem
require 'fn_ruby'
-api_instance = OracleFunctions::RoutesApi.new
+api_instance = Fn::RoutesApi.new
app = "app_example" # String | Name of app for this set of routes.
begin
#Get route list by app name.
result = api_instance.apps_app_routes_get(app)
p result
-rescue OracleFunctions::ApiError => e
+rescue Fn::ApiError => e
puts "Exception when calling RoutesApi->apps_app_routes_get: #{e}"
end
```
### Parameters
@@ -68,22 +68,22 @@
### Example
```ruby
# load the gem
require 'fn_ruby'
-api_instance = OracleFunctions::RoutesApi.new
+api_instance = Fn::RoutesApi.new
app = "app_example" # String | name of the app.
-body = OracleFunctions::RouteWrapper.new # RouteWrapper | One route to post.
+body = Fn::RouteWrapper.new # RouteWrapper | One route to post.
begin
#Create new Route
result = api_instance.apps_app_routes_post(app, body)
p result
-rescue OracleFunctions::ApiError => e
+rescue Fn::ApiError => e
puts "Exception when calling RoutesApi->apps_app_routes_post: #{e}"
end
```
### Parameters
@@ -118,21 +118,21 @@
### Example
```ruby
# load the gem
require 'fn_ruby'
-api_instance = OracleFunctions::RoutesApi.new
+api_instance = Fn::RoutesApi.new
app = "app_example" # String | Name of app for this set of routes.
route = "route_example" # String | Route name
begin
#Deletes the route
api_instance.apps_app_routes_route_delete(app, route)
-rescue OracleFunctions::ApiError => e
+rescue Fn::ApiError => e
puts "Exception when calling RoutesApi->apps_app_routes_route_delete: #{e}"
end
```
### Parameters
@@ -167,22 +167,22 @@
### Example
```ruby
# load the gem
require 'fn_ruby'
-api_instance = OracleFunctions::RoutesApi.new
+api_instance = Fn::RoutesApi.new
app = "app_example" # String | Name of app for this set of routes.
route = "route_example" # String | Route name
begin
#Gets route by name
result = api_instance.apps_app_routes_route_get(app, route)
p result
-rescue OracleFunctions::ApiError => e
+rescue Fn::ApiError => e
puts "Exception when calling RoutesApi->apps_app_routes_route_get: #{e}"
end
```
### Parameters
@@ -217,23 +217,23 @@
### Example
```ruby
# load the gem
require 'fn_ruby'
-api_instance = OracleFunctions::RoutesApi.new
+api_instance = Fn::RoutesApi.new
app = "app_example" # String | name of the app.
route = "route_example" # String | route path.
-body = OracleFunctions::RouteWrapper.new # RouteWrapper | One route to post.
+body = Fn::RouteWrapper.new # RouteWrapper | One route to post.
begin
#Update a Route
result = api_instance.apps_app_routes_route_patch(app, route, body)
p result
-rescue OracleFunctions::ApiError => e
+rescue Fn::ApiError => e
puts "Exception when calling RoutesApi->apps_app_routes_route_patch: #{e}"
end
```
### Parameters