fn_ruby 0.1.29 → 0.1.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -31
  3. data/VERSION +1 -1
  4. data/docs/App.md +1 -1
  5. data/docs/AppWrapper.md +1 -1
  6. data/docs/AppsApi.md +13 -13
  7. data/docs/AppsWrapper.md +1 -1
  8. data/docs/Error.md +1 -1
  9. data/docs/ErrorBody.md +1 -1
  10. data/docs/NewTask.md +1 -1
  11. data/docs/Route.md +1 -1
  12. data/docs/RouteWrapper.md +1 -1
  13. data/docs/RoutesApi.md +13 -13
  14. data/docs/RoutesWrapper.md +1 -1
  15. data/docs/Task.md +1 -1
  16. data/docs/TaskWrapper.md +1 -1
  17. data/docs/TasksApi.md +3 -3
  18. data/docs/Version.md +1 -1
  19. data/docs/VersionApi.md +3 -3
  20. data/fn_ruby-0.1.29.gem +0 -0
  21. data/fn_ruby.gemspec +3 -3
  22. data/lib/fn_ruby/api/apps_api.rb +1 -1
  23. data/lib/fn_ruby/api/routes_api.rb +1 -1
  24. data/lib/fn_ruby/api/tasks_api.rb +1 -1
  25. data/lib/fn_ruby/api/version_api.rb +1 -1
  26. data/lib/fn_ruby/api_client.rb +2 -2
  27. data/lib/fn_ruby/api_error.rb +1 -1
  28. data/lib/fn_ruby/configuration.rb +1 -1
  29. data/lib/fn_ruby/models/app.rb +2 -2
  30. data/lib/fn_ruby/models/app_wrapper.rb +2 -2
  31. data/lib/fn_ruby/models/apps_wrapper.rb +2 -2
  32. data/lib/fn_ruby/models/error.rb +2 -2
  33. data/lib/fn_ruby/models/error_body.rb +2 -2
  34. data/lib/fn_ruby/models/new_task.rb +2 -2
  35. data/lib/fn_ruby/models/route.rb +2 -2
  36. data/lib/fn_ruby/models/route_wrapper.rb +2 -2
  37. data/lib/fn_ruby/models/routes_wrapper.rb +2 -2
  38. data/lib/fn_ruby/models/task.rb +2 -2
  39. data/lib/fn_ruby/models/task_wrapper.rb +2 -2
  40. data/lib/fn_ruby/models/version.rb +2 -2
  41. data/lib/fn_ruby/version.rb +2 -2
  42. data/lib/fn_ruby.rb +2 -2
  43. data/spec/api/apps_api_spec.rb +3 -3
  44. data/spec/api/routes_api_spec.rb +3 -3
  45. data/spec/api/tasks_api_spec.rb +3 -3
  46. data/spec/api/version_api_spec.rb +3 -3
  47. data/spec/api_client_spec.rb +29 -29
  48. data/spec/configuration_spec.rb +3 -3
  49. data/spec/models/app_spec.rb +3 -3
  50. data/spec/models/app_wrapper_spec.rb +3 -3
  51. data/spec/models/apps_wrapper_spec.rb +3 -3
  52. data/spec/models/error_body_spec.rb +3 -3
  53. data/spec/models/error_spec.rb +3 -3
  54. data/spec/models/new_task_spec.rb +3 -3
  55. data/spec/models/route_spec.rb +3 -3
  56. data/spec/models/route_wrapper_spec.rb +3 -3
  57. data/spec/models/routes_wrapper_spec.rb +3 -3
  58. data/spec/models/task_spec.rb +3 -3
  59. data/spec/models/task_wrapper_spec.rb +3 -3
  60. data/spec/models/version_spec.rb +3 -3
  61. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6ac7a1579ace58057e0cc50f6cb3b10420140f1
4
- data.tar.gz: c4783f5178d0dc161a431e724381ad0b8ed435a6
3
+ metadata.gz: 1c9722a40dbbe4e5d604402259f7ffa19c72feea
4
+ data.tar.gz: a98ce37f3135cb3aac92f6919794aac0ff6f726b
5
5
  SHA512:
6
- metadata.gz: 57c43a753be0be908dad2a78930f5ebb33c82d3b0903c0a93d4bd57941ee69dd62fbc9ce67d268ccddcaebd92a33d5f7cc405fc95a98677f6bf8b4f8a3a8fffe
7
- data.tar.gz: afda126a48c23feaaebcd4d92b937f59564703f4a3e8f63b8745659d9aae8c60bc7e481932fa23b0fac70f5b44b4db91e73e684fd202318e1959bf9f124fd5c5
6
+ metadata.gz: e6344d205371089d462d1739b0a1059bbd1379523782b7607b99589226acc913b7d41fc0b2a592b822e41beb35d0f86a0bb3bc5a25460d4bf5f6882e4b37f6e9
7
+ data.tar.gz: 06f74f7f8da65a54986e7dc247a05d99aeaf5bd0a72798c1d38691b3ccdc866a1036fe83e89722475177e1f16c9940581ac8ca7c37f65d6724f7de0e86b16e3e
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # fn_ruby
2
2
 
3
- OracleFunctions - the Ruby gem for the IronFunctions
3
+ Fn - the Ruby gem for the IronFunctions
4
4
 
5
5
  The open source serverless platform.
6
6
 
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 0.1.29
10
- - Package version: 0.1.29
10
+ - Package version: 0.1.30
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build fn_ruby.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./fn_ruby-0.1.29.gem
26
+ gem install ./fn_ruby-0.1.30.gem
27
27
  ```
28
- (for development, run `gem install --dev ./fn_ruby-0.1.29.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./fn_ruby-0.1.30.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'fn_ruby', '~> 0.1.29'
34
+ gem 'fn_ruby', '~> 0.1.30'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -54,7 +54,7 @@ Please follow the [installation](#installation) procedure and then run the follo
54
54
  # Load the gem
55
55
  require 'fn_ruby'
56
56
 
57
- api_instance = OracleFunctions::AppsApi.new
57
+ api_instance = Fn::AppsApi.new
58
58
 
59
59
  app = "app_example" # String | Name of the app.
60
60
 
@@ -62,7 +62,7 @@ app = "app_example" # String | Name of the app.
62
62
  begin
63
63
  #Delete an app.
64
64
  api_instance.apps_app_delete(app)
65
- rescue OracleFunctions::ApiError => e
65
+ rescue Fn::ApiError => e
66
66
  puts "Exception when calling AppsApi->apps_app_delete: #{e}"
67
67
  end
68
68
 
@@ -74,34 +74,34 @@ All URIs are relative to *https://127.0.0.1:8080/v1*
74
74
 
75
75
  Class | Method | HTTP request | Description
76
76
  ------------ | ------------- | ------------- | -------------
77
- *OracleFunctions::AppsApi* | [**apps_app_delete**](docs/AppsApi.md#apps_app_delete) | **DELETE** /apps/{app} | Delete an app.
78
- *OracleFunctions::AppsApi* | [**apps_app_get**](docs/AppsApi.md#apps_app_get) | **GET** /apps/{app} | Get information for a app.
79
- *OracleFunctions::AppsApi* | [**apps_app_patch**](docs/AppsApi.md#apps_app_patch) | **PATCH** /apps/{app} | Updates an app.
80
- *OracleFunctions::AppsApi* | [**apps_get**](docs/AppsApi.md#apps_get) | **GET** /apps | Get all app names.
81
- *OracleFunctions::AppsApi* | [**apps_post**](docs/AppsApi.md#apps_post) | **POST** /apps | Post new app
82
- *OracleFunctions::RoutesApi* | [**apps_app_routes_get**](docs/RoutesApi.md#apps_app_routes_get) | **GET** /apps/{app}/routes | Get route list by app name.
83
- *OracleFunctions::RoutesApi* | [**apps_app_routes_post**](docs/RoutesApi.md#apps_app_routes_post) | **POST** /apps/{app}/routes | Create new Route
84
- *OracleFunctions::RoutesApi* | [**apps_app_routes_route_delete**](docs/RoutesApi.md#apps_app_routes_route_delete) | **DELETE** /apps/{app}/routes/{route} | Deletes the route
85
- *OracleFunctions::RoutesApi* | [**apps_app_routes_route_get**](docs/RoutesApi.md#apps_app_routes_route_get) | **GET** /apps/{app}/routes/{route} | Gets route by name
86
- *OracleFunctions::RoutesApi* | [**apps_app_routes_route_patch**](docs/RoutesApi.md#apps_app_routes_route_patch) | **PATCH** /apps/{app}/routes/{route} | Update a Route
87
- *OracleFunctions::TasksApi* | [**tasks_get**](docs/TasksApi.md#tasks_get) | **GET** /tasks | Get next task.
88
- *OracleFunctions::VersionApi* | [**version_get**](docs/VersionApi.md#version_get) | **GET** /version | Get daemon version.
77
+ *Fn::AppsApi* | [**apps_app_delete**](docs/AppsApi.md#apps_app_delete) | **DELETE** /apps/{app} | Delete an app.
78
+ *Fn::AppsApi* | [**apps_app_get**](docs/AppsApi.md#apps_app_get) | **GET** /apps/{app} | Get information for a app.
79
+ *Fn::AppsApi* | [**apps_app_patch**](docs/AppsApi.md#apps_app_patch) | **PATCH** /apps/{app} | Updates an app.
80
+ *Fn::AppsApi* | [**apps_get**](docs/AppsApi.md#apps_get) | **GET** /apps | Get all app names.
81
+ *Fn::AppsApi* | [**apps_post**](docs/AppsApi.md#apps_post) | **POST** /apps | Post new app
82
+ *Fn::RoutesApi* | [**apps_app_routes_get**](docs/RoutesApi.md#apps_app_routes_get) | **GET** /apps/{app}/routes | Get route list by app name.
83
+ *Fn::RoutesApi* | [**apps_app_routes_post**](docs/RoutesApi.md#apps_app_routes_post) | **POST** /apps/{app}/routes | Create new Route
84
+ *Fn::RoutesApi* | [**apps_app_routes_route_delete**](docs/RoutesApi.md#apps_app_routes_route_delete) | **DELETE** /apps/{app}/routes/{route} | Deletes the route
85
+ *Fn::RoutesApi* | [**apps_app_routes_route_get**](docs/RoutesApi.md#apps_app_routes_route_get) | **GET** /apps/{app}/routes/{route} | Gets route by name
86
+ *Fn::RoutesApi* | [**apps_app_routes_route_patch**](docs/RoutesApi.md#apps_app_routes_route_patch) | **PATCH** /apps/{app}/routes/{route} | Update a Route
87
+ *Fn::TasksApi* | [**tasks_get**](docs/TasksApi.md#tasks_get) | **GET** /tasks | Get next task.
88
+ *Fn::VersionApi* | [**version_get**](docs/VersionApi.md#version_get) | **GET** /version | Get daemon version.
89
89
 
90
90
 
91
91
  ## Documentation for Models
92
92
 
93
- - [OracleFunctions::App](docs/App.md)
94
- - [OracleFunctions::AppWrapper](docs/AppWrapper.md)
95
- - [OracleFunctions::AppsWrapper](docs/AppsWrapper.md)
96
- - [OracleFunctions::Error](docs/Error.md)
97
- - [OracleFunctions::ErrorBody](docs/ErrorBody.md)
98
- - [OracleFunctions::NewTask](docs/NewTask.md)
99
- - [OracleFunctions::Route](docs/Route.md)
100
- - [OracleFunctions::RouteWrapper](docs/RouteWrapper.md)
101
- - [OracleFunctions::RoutesWrapper](docs/RoutesWrapper.md)
102
- - [OracleFunctions::TaskWrapper](docs/TaskWrapper.md)
103
- - [OracleFunctions::Version](docs/Version.md)
104
- - [OracleFunctions::Task](docs/Task.md)
93
+ - [Fn::App](docs/App.md)
94
+ - [Fn::AppWrapper](docs/AppWrapper.md)
95
+ - [Fn::AppsWrapper](docs/AppsWrapper.md)
96
+ - [Fn::Error](docs/Error.md)
97
+ - [Fn::ErrorBody](docs/ErrorBody.md)
98
+ - [Fn::NewTask](docs/NewTask.md)
99
+ - [Fn::Route](docs/Route.md)
100
+ - [Fn::RouteWrapper](docs/RouteWrapper.md)
101
+ - [Fn::RoutesWrapper](docs/RoutesWrapper.md)
102
+ - [Fn::TaskWrapper](docs/TaskWrapper.md)
103
+ - [Fn::Version](docs/Version.md)
104
+ - [Fn::Task](docs/Task.md)
105
105
 
106
106
 
107
107
  ## Documentation for Authorization
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.29
1
+ 0.1.30
data/docs/App.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::App
1
+ # Fn::App
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/AppWrapper.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::AppWrapper
1
+ # Fn::AppWrapper
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/AppsApi.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::AppsApi
1
+ # Fn::AppsApi
2
2
 
3
3
  All URIs are relative to *https://127.0.0.1:8080/v1*
4
4
 
@@ -23,7 +23,7 @@ Delete an app.
23
23
  # load the gem
24
24
  require 'fn_ruby'
25
25
 
26
- api_instance = OracleFunctions::AppsApi.new
26
+ api_instance = Fn::AppsApi.new
27
27
 
28
28
  app = "app_example" # String | Name of the app.
29
29
 
@@ -31,7 +31,7 @@ app = "app_example" # String | Name of the app.
31
31
  begin
32
32
  #Delete an app.
33
33
  api_instance.apps_app_delete(app)
34
- rescue OracleFunctions::ApiError => e
34
+ rescue Fn::ApiError => e
35
35
  puts "Exception when calling AppsApi->apps_app_delete: #{e}"
36
36
  end
37
37
  ```
@@ -69,7 +69,7 @@ This gives more details about a app, such as statistics.
69
69
  # load the gem
70
70
  require 'fn_ruby'
71
71
 
72
- api_instance = OracleFunctions::AppsApi.new
72
+ api_instance = Fn::AppsApi.new
73
73
 
74
74
  app = "app_example" # String | name of the app.
75
75
 
@@ -78,7 +78,7 @@ begin
78
78
  #Get information for a app.
79
79
  result = api_instance.apps_app_get(app)
80
80
  p result
81
- rescue OracleFunctions::ApiError => e
81
+ rescue Fn::ApiError => e
82
82
  puts "Exception when calling AppsApi->apps_app_get: #{e}"
83
83
  end
84
84
  ```
@@ -116,18 +116,18 @@ You can set app level settings here.
116
116
  # load the gem
117
117
  require 'fn_ruby'
118
118
 
119
- api_instance = OracleFunctions::AppsApi.new
119
+ api_instance = Fn::AppsApi.new
120
120
 
121
121
  app = "app_example" # String | name of the app.
122
122
 
123
- body = OracleFunctions::AppWrapper.new # AppWrapper | App to post.
123
+ body = Fn::AppWrapper.new # AppWrapper | App to post.
124
124
 
125
125
 
126
126
  begin
127
127
  #Updates an app.
128
128
  result = api_instance.apps_app_patch(app, body)
129
129
  p result
130
- rescue OracleFunctions::ApiError => e
130
+ rescue Fn::ApiError => e
131
131
  puts "Exception when calling AppsApi->apps_app_patch: #{e}"
132
132
  end
133
133
  ```
@@ -166,13 +166,13 @@ Get a list of all the apps in the system.
166
166
  # load the gem
167
167
  require 'fn_ruby'
168
168
 
169
- api_instance = OracleFunctions::AppsApi.new
169
+ api_instance = Fn::AppsApi.new
170
170
 
171
171
  begin
172
172
  #Get all app names.
173
173
  result = api_instance.apps_get
174
174
  p result
175
- rescue OracleFunctions::ApiError => e
175
+ rescue Fn::ApiError => e
176
176
  puts "Exception when calling AppsApi->apps_get: #{e}"
177
177
  end
178
178
  ```
@@ -207,16 +207,16 @@ Insert a new app
207
207
  # load the gem
208
208
  require 'fn_ruby'
209
209
 
210
- api_instance = OracleFunctions::AppsApi.new
210
+ api_instance = Fn::AppsApi.new
211
211
 
212
- body = OracleFunctions::AppWrapper.new # AppWrapper | App to post.
212
+ body = Fn::AppWrapper.new # AppWrapper | App to post.
213
213
 
214
214
 
215
215
  begin
216
216
  #Post new app
217
217
  result = api_instance.apps_post(body)
218
218
  p result
219
- rescue OracleFunctions::ApiError => e
219
+ rescue Fn::ApiError => e
220
220
  puts "Exception when calling AppsApi->apps_post: #{e}"
221
221
  end
222
222
  ```
data/docs/AppsWrapper.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::AppsWrapper
1
+ # Fn::AppsWrapper
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/Error.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::Error
1
+ # Fn::Error
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/ErrorBody.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::ErrorBody
1
+ # Fn::ErrorBody
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/NewTask.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::NewTask
1
+ # Fn::NewTask
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/Route.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::Route
1
+ # Fn::Route
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/RouteWrapper.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::RouteWrapper
1
+ # Fn::RouteWrapper
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/RoutesApi.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::RoutesApi
1
+ # Fn::RoutesApi
2
2
 
3
3
  All URIs are relative to *https://127.0.0.1:8080/v1*
4
4
 
@@ -23,7 +23,7 @@ This will list routes for a particular app.
23
23
  # load the gem
24
24
  require 'fn_ruby'
25
25
 
26
- api_instance = OracleFunctions::RoutesApi.new
26
+ api_instance = Fn::RoutesApi.new
27
27
 
28
28
  app = "app_example" # String | Name of app for this set of routes.
29
29
 
@@ -32,7 +32,7 @@ begin
32
32
  #Get route list by app name.
33
33
  result = api_instance.apps_app_routes_get(app)
34
34
  p result
35
- rescue OracleFunctions::ApiError => e
35
+ rescue Fn::ApiError => e
36
36
  puts "Exception when calling RoutesApi->apps_app_routes_get: #{e}"
37
37
  end
38
38
  ```
@@ -70,18 +70,18 @@ Create a new route in an app, if app doesn't exists, it creates the app
70
70
  # load the gem
71
71
  require 'fn_ruby'
72
72
 
73
- api_instance = OracleFunctions::RoutesApi.new
73
+ api_instance = Fn::RoutesApi.new
74
74
 
75
75
  app = "app_example" # String | name of the app.
76
76
 
77
- body = OracleFunctions::RouteWrapper.new # RouteWrapper | One route to post.
77
+ body = Fn::RouteWrapper.new # RouteWrapper | One route to post.
78
78
 
79
79
 
80
80
  begin
81
81
  #Create new Route
82
82
  result = api_instance.apps_app_routes_post(app, body)
83
83
  p result
84
- rescue OracleFunctions::ApiError => e
84
+ rescue Fn::ApiError => e
85
85
  puts "Exception when calling RoutesApi->apps_app_routes_post: #{e}"
86
86
  end
87
87
  ```
@@ -120,7 +120,7 @@ Deletes the route.
120
120
  # load the gem
121
121
  require 'fn_ruby'
122
122
 
123
- api_instance = OracleFunctions::RoutesApi.new
123
+ api_instance = Fn::RoutesApi.new
124
124
 
125
125
  app = "app_example" # String | Name of app for this set of routes.
126
126
 
@@ -130,7 +130,7 @@ route = "route_example" # String | Route name
130
130
  begin
131
131
  #Deletes the route
132
132
  api_instance.apps_app_routes_route_delete(app, route)
133
- rescue OracleFunctions::ApiError => e
133
+ rescue Fn::ApiError => e
134
134
  puts "Exception when calling RoutesApi->apps_app_routes_route_delete: #{e}"
135
135
  end
136
136
  ```
@@ -169,7 +169,7 @@ Gets a route by name.
169
169
  # load the gem
170
170
  require 'fn_ruby'
171
171
 
172
- api_instance = OracleFunctions::RoutesApi.new
172
+ api_instance = Fn::RoutesApi.new
173
173
 
174
174
  app = "app_example" # String | Name of app for this set of routes.
175
175
 
@@ -180,7 +180,7 @@ begin
180
180
  #Gets route by name
181
181
  result = api_instance.apps_app_routes_route_get(app, route)
182
182
  p result
183
- rescue OracleFunctions::ApiError => e
183
+ rescue Fn::ApiError => e
184
184
  puts "Exception when calling RoutesApi->apps_app_routes_route_get: #{e}"
185
185
  end
186
186
  ```
@@ -219,20 +219,20 @@ Update a route
219
219
  # load the gem
220
220
  require 'fn_ruby'
221
221
 
222
- api_instance = OracleFunctions::RoutesApi.new
222
+ api_instance = Fn::RoutesApi.new
223
223
 
224
224
  app = "app_example" # String | name of the app.
225
225
 
226
226
  route = "route_example" # String | route path.
227
227
 
228
- body = OracleFunctions::RouteWrapper.new # RouteWrapper | One route to post.
228
+ body = Fn::RouteWrapper.new # RouteWrapper | One route to post.
229
229
 
230
230
 
231
231
  begin
232
232
  #Update a Route
233
233
  result = api_instance.apps_app_routes_route_patch(app, route, body)
234
234
  p result
235
- rescue OracleFunctions::ApiError => e
235
+ rescue Fn::ApiError => e
236
236
  puts "Exception when calling RoutesApi->apps_app_routes_route_patch: #{e}"
237
237
  end
238
238
  ```
@@ -1,4 +1,4 @@
1
- # OracleFunctions::RoutesWrapper
1
+ # Fn::RoutesWrapper
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/Task.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::Task
1
+ # Fn::Task
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/TaskWrapper.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::TaskWrapper
1
+ # Fn::TaskWrapper
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/TasksApi.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::TasksApi
1
+ # Fn::TasksApi
2
2
 
3
3
  All URIs are relative to *https://127.0.0.1:8080/v1*
4
4
 
@@ -19,13 +19,13 @@ Gets the next task in the queue, ready for processing. Consumers should start pr
19
19
  # load the gem
20
20
  require 'fn_ruby'
21
21
 
22
- api_instance = OracleFunctions::TasksApi.new
22
+ api_instance = Fn::TasksApi.new
23
23
 
24
24
  begin
25
25
  #Get next task.
26
26
  result = api_instance.tasks_get
27
27
  p result
28
- rescue OracleFunctions::ApiError => e
28
+ rescue Fn::ApiError => e
29
29
  puts "Exception when calling TasksApi->tasks_get: #{e}"
30
30
  end
31
31
  ```
data/docs/Version.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::Version
1
+ # Fn::Version
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
data/docs/VersionApi.md CHANGED
@@ -1,4 +1,4 @@
1
- # OracleFunctions::VersionApi
1
+ # Fn::VersionApi
2
2
 
3
3
  All URIs are relative to *https://127.0.0.1:8080/v1*
4
4
 
@@ -17,13 +17,13 @@ Get daemon version.
17
17
  # load the gem
18
18
  require 'fn_ruby'
19
19
 
20
- api_instance = OracleFunctions::VersionApi.new
20
+ api_instance = Fn::VersionApi.new
21
21
 
22
22
  begin
23
23
  #Get daemon version.
24
24
  result = api_instance.version_get
25
25
  p result
26
- rescue OracleFunctions::ApiError => e
26
+ rescue Fn::ApiError => e
27
27
  puts "Exception when calling VersionApi->version_get: #{e}"
28
28
  end
29
29
  ```
Binary file
data/fn_ruby.gemspec CHANGED
@@ -17,13 +17,13 @@ require "fn_ruby/version"
17
17
 
18
18
  Gem::Specification.new do |s|
19
19
  s.name = "fn_ruby"
20
- s.version = OracleFunctions::VERSION
20
+ s.version = Fn::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["Swagger-Codegen"]
23
23
  s.email = ["treeder@gmail.com"]
24
24
  s.homepage = "https://github.com/fnproject/fn_ruby"
25
- s.summary = "Ruby gem for Oracle Functions"
26
- s.description = "Ruby gem for Oracle Functions."
25
+ s.summary = "Ruby gem for Fn Project"
26
+ s.description = "Ruby gem for Fn Project."
27
27
  # TODO uncommnet and update below with a proper license
28
28
  #s.license = "Apache 2.0"
29
29
  s.required_ruby_version = ">= 1.9"
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require "uri"
14
14
 
15
- module OracleFunctions
15
+ module Fn
16
16
  class AppsApi
17
17
  attr_accessor :api_client
18
18
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require "uri"
14
14
 
15
- module OracleFunctions
15
+ module Fn
16
16
  class RoutesApi
17
17
  attr_accessor :api_client
18
18
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require "uri"
14
14
 
15
- module OracleFunctions
15
+ module Fn
16
16
  class TasksApi
17
17
  attr_accessor :api_client
18
18
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require "uri"
14
14
 
15
- module OracleFunctions
15
+ module Fn
16
16
  class VersionApi
17
17
  attr_accessor :api_client
18
18
 
@@ -17,7 +17,7 @@ require 'tempfile'
17
17
  require 'typhoeus'
18
18
  require 'uri'
19
19
 
20
- module OracleFunctions
20
+ module Fn
21
21
  class ApiClient
22
22
  # The Configuration object holding settings to be used in the API client.
23
23
  attr_accessor :config
@@ -209,7 +209,7 @@ module OracleFunctions
209
209
  end
210
210
  else
211
211
  # models, e.g. Pet
212
- OracleFunctions.const_get(return_type).new.tap do |model|
212
+ Fn.const_get(return_type).new.tap do |model|
213
213
  model.build_from_hash data
214
214
  end
215
215
  end
@@ -10,7 +10,7 @@ Swagger Codegen version: 2.2.3
10
10
 
11
11
  =end
12
12
 
13
- module OracleFunctions
13
+ module Fn
14
14
  class ApiError < StandardError
15
15
  attr_reader :code, :response_headers, :response_body
16
16
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require 'uri'
14
14
 
15
- module OracleFunctions
15
+ module Fn
16
16
  class Configuration
17
17
  # Defines url scheme
18
18
  attr_accessor :scheme
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require 'date'
14
14
 
15
- module OracleFunctions
15
+ module Fn
16
16
 
17
17
  class App
18
18
  # Name of this app. Must be different than the image name. Can ony contain alphanumeric, -, and _.
@@ -149,7 +149,7 @@ module OracleFunctions
149
149
  end
150
150
  end
151
151
  else # model
152
- temp_model = OracleFunctions.const_get(type).new
152
+ temp_model = Fn.const_get(type).new
153
153
  temp_model.build_from_hash(value)
154
154
  end
155
155
  end
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require 'date'
14
14
 
15
- module OracleFunctions
15
+ module Fn
16
16
 
17
17
  class AppWrapper
18
18
  attr_accessor :app
@@ -150,7 +150,7 @@ module OracleFunctions
150
150
  end
151
151
  end
152
152
  else # model
153
- temp_model = OracleFunctions.const_get(type).new
153
+ temp_model = Fn.const_get(type).new
154
154
  temp_model.build_from_hash(value)
155
155
  end
156
156
  end
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require 'date'
14
14
 
15
- module OracleFunctions
15
+ module Fn
16
16
 
17
17
  class AppsWrapper
18
18
  attr_accessor :apps
@@ -152,7 +152,7 @@ module OracleFunctions
152
152
  end
153
153
  end
154
154
  else # model
155
- temp_model = OracleFunctions.const_get(type).new
155
+ temp_model = Fn.const_get(type).new
156
156
  temp_model.build_from_hash(value)
157
157
  end
158
158
  end
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require 'date'
14
14
 
15
- module OracleFunctions
15
+ module Fn
16
16
 
17
17
  class Error
18
18
  attr_accessor :error
@@ -136,7 +136,7 @@ module OracleFunctions
136
136
  end
137
137
  end
138
138
  else # model
139
- temp_model = OracleFunctions.const_get(type).new
139
+ temp_model = Fn.const_get(type).new
140
140
  temp_model.build_from_hash(value)
141
141
  end
142
142
  end
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require 'date'
14
14
 
15
- module OracleFunctions
15
+ module Fn
16
16
 
17
17
  class ErrorBody
18
18
  attr_accessor :message
@@ -145,7 +145,7 @@ module OracleFunctions
145
145
  end
146
146
  end
147
147
  else # model
148
- temp_model = OracleFunctions.const_get(type).new
148
+ temp_model = Fn.const_get(type).new
149
149
  temp_model.build_from_hash(value)
150
150
  end
151
151
  end