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
@@ -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 NewTask
18
18
  # Name of Docker image to use. This is optional and can be used to override the image defined at the group level.
@@ -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 Route
18
18
  # URL path that will be matched to this route
@@ -276,7 +276,7 @@ module OracleFunctions
276
276
  end
277
277
  end
278
278
  else # model
279
- temp_model = OracleFunctions.const_get(type).new
279
+ temp_model = Fn.const_get(type).new
280
280
  temp_model.build_from_hash(value)
281
281
  end
282
282
  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 RouteWrapper
18
18
  attr_accessor :message
@@ -159,7 +159,7 @@ module OracleFunctions
159
159
  end
160
160
  end
161
161
  else # model
162
- temp_model = OracleFunctions.const_get(type).new
162
+ temp_model = Fn.const_get(type).new
163
163
  temp_model.build_from_hash(value)
164
164
  end
165
165
  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 RoutesWrapper
18
18
  attr_accessor :routes
@@ -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 Task
18
18
  # Name of Docker image to use. This is optional and can be used to override the image defined at the group level.
@@ -277,7 +277,7 @@ module OracleFunctions
277
277
  end
278
278
  end
279
279
  else # model
280
- temp_model = OracleFunctions.const_get(type).new
280
+ temp_model = Fn.const_get(type).new
281
281
  temp_model.build_from_hash(value)
282
282
  end
283
283
  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 TaskWrapper
18
18
  attr_accessor :task
@@ -141,7 +141,7 @@ module OracleFunctions
141
141
  end
142
142
  end
143
143
  else # model
144
- temp_model = OracleFunctions.const_get(type).new
144
+ temp_model = Fn.const_get(type).new
145
145
  temp_model.build_from_hash(value)
146
146
  end
147
147
  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 Version
18
18
  attr_accessor :version
@@ -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
@@ -10,6 +10,6 @@ Swagger Codegen version: 2.2.3
10
10
 
11
11
  =end
12
12
 
13
- module OracleFunctions
14
- VERSION = "0.1.29"
13
+ module Fn
14
+ VERSION = "0.1.30"
15
15
  end
data/lib/fn_ruby.rb CHANGED
@@ -36,10 +36,10 @@ require 'fn_ruby/api/routes_api'
36
36
  require 'fn_ruby/api/tasks_api'
37
37
  require 'fn_ruby/api/version_api'
38
38
 
39
- module OracleFunctions
39
+ module Fn
40
40
  class << self
41
41
  # Customize default settings for the SDK using block.
42
- # OracleFunctions.configure do |config|
42
+ # Fn.configure do |config|
43
43
  # config.username = "xxx"
44
44
  # config.password = "xxx"
45
45
  # end
@@ -13,13 +13,13 @@ Swagger Codegen version: 2.2.3
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for OracleFunctions::AppsApi
16
+ # Unit tests for Fn::AppsApi
17
17
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
18
  # Please update as you see appropriate
19
19
  describe 'AppsApi' do
20
20
  before do
21
21
  # run before each test
22
- @instance = OracleFunctions::AppsApi.new
22
+ @instance = Fn::AppsApi.new
23
23
  end
24
24
 
25
25
  after do
@@ -28,7 +28,7 @@ describe 'AppsApi' do
28
28
 
29
29
  describe 'test an instance of AppsApi' do
30
30
  it 'should create an instance of AppsApi' do
31
- expect(@instance).to be_instance_of(OracleFunctions::AppsApi)
31
+ expect(@instance).to be_instance_of(Fn::AppsApi)
32
32
  end
33
33
  end
34
34
 
@@ -13,13 +13,13 @@ Swagger Codegen version: 2.2.3
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for OracleFunctions::RoutesApi
16
+ # Unit tests for Fn::RoutesApi
17
17
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
18
  # Please update as you see appropriate
19
19
  describe 'RoutesApi' do
20
20
  before do
21
21
  # run before each test
22
- @instance = OracleFunctions::RoutesApi.new
22
+ @instance = Fn::RoutesApi.new
23
23
  end
24
24
 
25
25
  after do
@@ -28,7 +28,7 @@ describe 'RoutesApi' do
28
28
 
29
29
  describe 'test an instance of RoutesApi' do
30
30
  it 'should create an instance of RoutesApi' do
31
- expect(@instance).to be_instance_of(OracleFunctions::RoutesApi)
31
+ expect(@instance).to be_instance_of(Fn::RoutesApi)
32
32
  end
33
33
  end
34
34
 
@@ -13,13 +13,13 @@ Swagger Codegen version: 2.2.3
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for OracleFunctions::TasksApi
16
+ # Unit tests for Fn::TasksApi
17
17
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
18
  # Please update as you see appropriate
19
19
  describe 'TasksApi' do
20
20
  before do
21
21
  # run before each test
22
- @instance = OracleFunctions::TasksApi.new
22
+ @instance = Fn::TasksApi.new
23
23
  end
24
24
 
25
25
  after do
@@ -28,7 +28,7 @@ describe 'TasksApi' do
28
28
 
29
29
  describe 'test an instance of TasksApi' do
30
30
  it 'should create an instance of TasksApi' do
31
- expect(@instance).to be_instance_of(OracleFunctions::TasksApi)
31
+ expect(@instance).to be_instance_of(Fn::TasksApi)
32
32
  end
33
33
  end
34
34
 
@@ -13,13 +13,13 @@ Swagger Codegen version: 2.2.3
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for OracleFunctions::VersionApi
16
+ # Unit tests for Fn::VersionApi
17
17
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
18
  # Please update as you see appropriate
19
19
  describe 'VersionApi' do
20
20
  before do
21
21
  # run before each test
22
- @instance = OracleFunctions::VersionApi.new
22
+ @instance = Fn::VersionApi.new
23
23
  end
24
24
 
25
25
  after do
@@ -28,7 +28,7 @@ describe 'VersionApi' do
28
28
 
29
29
  describe 'test an instance of VersionApi' do
30
30
  it 'should create an instance of VersionApi' do
31
- expect(@instance).to be_instance_of(OracleFunctions::VersionApi)
31
+ expect(@instance).to be_instance_of(Fn::VersionApi)
32
32
  end
33
33
  end
34
34
 
@@ -12,51 +12,51 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require 'spec_helper'
14
14
 
15
- describe OracleFunctions::ApiClient do
15
+ describe Fn::ApiClient do
16
16
  context 'initialization' do
17
17
  context 'URL stuff' do
18
18
  context 'host' do
19
19
  it 'removes http from host' do
20
- OracleFunctions.configure { |c| c.host = 'http://example.com' }
21
- expect(OracleFunctions::Configuration.default.host).to eq('example.com')
20
+ Fn.configure { |c| c.host = 'http://example.com' }
21
+ expect(Fn::Configuration.default.host).to eq('example.com')
22
22
  end
23
23
 
24
24
  it 'removes https from host' do
25
- OracleFunctions.configure { |c| c.host = 'https://wookiee.com' }
26
- expect(OracleFunctions::ApiClient.default.config.host).to eq('wookiee.com')
25
+ Fn.configure { |c| c.host = 'https://wookiee.com' }
26
+ expect(Fn::ApiClient.default.config.host).to eq('wookiee.com')
27
27
  end
28
28
 
29
29
  it 'removes trailing path from host' do
30
- OracleFunctions.configure { |c| c.host = 'hobo.com/v4' }
31
- expect(OracleFunctions::Configuration.default.host).to eq('hobo.com')
30
+ Fn.configure { |c| c.host = 'hobo.com/v4' }
31
+ expect(Fn::Configuration.default.host).to eq('hobo.com')
32
32
  end
33
33
  end
34
34
 
35
35
  context 'base_path' do
36
36
  it "prepends a slash to base_path" do
37
- OracleFunctions.configure { |c| c.base_path = 'v4/dog' }
38
- expect(OracleFunctions::Configuration.default.base_path).to eq('/v4/dog')
37
+ Fn.configure { |c| c.base_path = 'v4/dog' }
38
+ expect(Fn::Configuration.default.base_path).to eq('/v4/dog')
39
39
  end
40
40
 
41
41
  it "doesn't prepend a slash if one is already there" do
42
- OracleFunctions.configure { |c| c.base_path = '/v4/dog' }
43
- expect(OracleFunctions::Configuration.default.base_path).to eq('/v4/dog')
42
+ Fn.configure { |c| c.base_path = '/v4/dog' }
43
+ expect(Fn::Configuration.default.base_path).to eq('/v4/dog')
44
44
  end
45
45
 
46
46
  it "ends up as a blank string if nil" do
47
- OracleFunctions.configure { |c| c.base_path = nil }
48
- expect(OracleFunctions::Configuration.default.base_path).to eq('')
47
+ Fn.configure { |c| c.base_path = nil }
48
+ expect(Fn::Configuration.default.base_path).to eq('')
49
49
  end
50
50
  end
51
51
  end
52
52
  end
53
53
 
54
54
  describe "params_encoding in #build_request" do
55
- let(:config) { OracleFunctions::Configuration.new }
56
- let(:api_client) { OracleFunctions::ApiClient.new(config) }
55
+ let(:config) { Fn::Configuration.new }
56
+ let(:api_client) { Fn::ApiClient.new(config) }
57
57
 
58
58
  it "defaults to nil" do
59
- expect(OracleFunctions::Configuration.default.params_encoding).to eq(nil)
59
+ expect(Fn::Configuration.default.params_encoding).to eq(nil)
60
60
  expect(config.params_encoding).to eq(nil)
61
61
 
62
62
  request = api_client.build_request(:get, '/test')
@@ -71,11 +71,11 @@ describe OracleFunctions::ApiClient do
71
71
  end
72
72
 
73
73
  describe "timeout in #build_request" do
74
- let(:config) { OracleFunctions::Configuration.new }
75
- let(:api_client) { OracleFunctions::ApiClient.new(config) }
74
+ let(:config) { Fn::Configuration.new }
75
+ let(:api_client) { Fn::ApiClient.new(config) }
76
76
 
77
77
  it "defaults to 0" do
78
- expect(OracleFunctions::Configuration.default.timeout).to eq(0)
78
+ expect(Fn::Configuration.default.timeout).to eq(0)
79
79
  expect(config.timeout).to eq(0)
80
80
 
81
81
  request = api_client.build_request(:get, '/test')
@@ -91,7 +91,7 @@ describe OracleFunctions::ApiClient do
91
91
 
92
92
  describe "#deserialize" do
93
93
  it "handles Array<Integer>" do
94
- api_client = OracleFunctions::ApiClient.new
94
+ api_client = Fn::ApiClient.new
95
95
  headers = {'Content-Type' => 'application/json'}
96
96
  response = double('response', headers: headers, body: '[12, 34]')
97
97
  data = api_client.deserialize(response, 'Array<Integer>')
@@ -100,7 +100,7 @@ describe OracleFunctions::ApiClient do
100
100
  end
101
101
 
102
102
  it "handles Array<Array<Integer>>" do
103
- api_client = OracleFunctions::ApiClient.new
103
+ api_client = Fn::ApiClient.new
104
104
  headers = {'Content-Type' => 'application/json'}
105
105
  response = double('response', headers: headers, body: '[[12, 34], [56]]')
106
106
  data = api_client.deserialize(response, 'Array<Array<Integer>>')
@@ -109,7 +109,7 @@ describe OracleFunctions::ApiClient do
109
109
  end
110
110
 
111
111
  it "handles Hash<String, String>" do
112
- api_client = OracleFunctions::ApiClient.new
112
+ api_client = Fn::ApiClient.new
113
113
  headers = {'Content-Type' => 'application/json'}
114
114
  response = double('response', headers: headers, body: '{"message": "Hello"}')
115
115
  data = api_client.deserialize(response, 'Hash<String, String>')
@@ -121,8 +121,8 @@ describe OracleFunctions::ApiClient do
121
121
  describe "#object_to_hash" do
122
122
  it "ignores nils and includes empty arrays" do
123
123
  # uncomment below to test object_to_hash for model
124
- #api_client = OracleFunctions::ApiClient.new
125
- #_model = OracleFunctions::ModelName.new
124
+ #api_client = Fn::ApiClient.new
125
+ #_model = Fn::ModelName.new
126
126
  # update the model attribute below
127
127
  #_model.id = 1
128
128
  # update the expected value (hash) below
@@ -133,7 +133,7 @@ describe OracleFunctions::ApiClient do
133
133
 
134
134
  describe "#build_collection_param" do
135
135
  let(:param) { ['aa', 'bb', 'cc'] }
136
- let(:api_client) { OracleFunctions::ApiClient.new }
136
+ let(:api_client) { Fn::ApiClient.new }
137
137
 
138
138
  it "works for csv" do
139
139
  expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc')
@@ -161,7 +161,7 @@ describe OracleFunctions::ApiClient do
161
161
  end
162
162
 
163
163
  describe "#json_mime?" do
164
- let(:api_client) { OracleFunctions::ApiClient.new }
164
+ let(:api_client) { Fn::ApiClient.new }
165
165
 
166
166
  it "works" do
167
167
  expect(api_client.json_mime?(nil)).to eq false
@@ -178,7 +178,7 @@ describe OracleFunctions::ApiClient do
178
178
  end
179
179
 
180
180
  describe "#select_header_accept" do
181
- let(:api_client) { OracleFunctions::ApiClient.new }
181
+ let(:api_client) { Fn::ApiClient.new }
182
182
 
183
183
  it "works" do
184
184
  expect(api_client.select_header_accept(nil)).to be_nil
@@ -194,7 +194,7 @@ describe OracleFunctions::ApiClient do
194
194
  end
195
195
 
196
196
  describe "#select_header_content_type" do
197
- let(:api_client) { OracleFunctions::ApiClient.new }
197
+ let(:api_client) { Fn::ApiClient.new }
198
198
 
199
199
  it "works" do
200
200
  expect(api_client.select_header_content_type(nil)).to eq('application/json')
@@ -209,7 +209,7 @@ describe OracleFunctions::ApiClient do
209
209
  end
210
210
 
211
211
  describe "#sanitize_filename" do
212
- let(:api_client) { OracleFunctions::ApiClient.new }
212
+ let(:api_client) { Fn::ApiClient.new }
213
213
 
214
214
  it "works" do
215
215
  expect(api_client.sanitize_filename('sun')).to eq('sun')
@@ -12,14 +12,14 @@ Swagger Codegen version: 2.2.3
12
12
 
13
13
  require 'spec_helper'
14
14
 
15
- describe OracleFunctions::Configuration do
16
- let(:config) { OracleFunctions::Configuration.default }
15
+ describe Fn::Configuration do
16
+ let(:config) { Fn::Configuration.default }
17
17
 
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  #require 'URI'
21
21
  #uri = URI.parse("https://127.0.0.1:8080/v1")
22
- #OracleFunctions.configure do |c|
22
+ #Fn.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
25
25
  #end
@@ -14,13 +14,13 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OracleFunctions::App
17
+ # Unit tests for Fn::App
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'App' do
21
21
  before do
22
22
  # run before each test
23
- @instance = OracleFunctions::App.new
23
+ @instance = Fn::App.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'App' do
29
29
 
30
30
  describe 'test an instance of App' do
31
31
  it 'should create an instance of App' do
32
- expect(@instance).to be_instance_of(OracleFunctions::App)
32
+ expect(@instance).to be_instance_of(Fn::App)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "name"' do
@@ -14,13 +14,13 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OracleFunctions::AppWrapper
17
+ # Unit tests for Fn::AppWrapper
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'AppWrapper' do
21
21
  before do
22
22
  # run before each test
23
- @instance = OracleFunctions::AppWrapper.new
23
+ @instance = Fn::AppWrapper.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'AppWrapper' do
29
29
 
30
30
  describe 'test an instance of AppWrapper' do
31
31
  it 'should create an instance of AppWrapper' do
32
- expect(@instance).to be_instance_of(OracleFunctions::AppWrapper)
32
+ expect(@instance).to be_instance_of(Fn::AppWrapper)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "app"' do
@@ -14,13 +14,13 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OracleFunctions::AppsWrapper
17
+ # Unit tests for Fn::AppsWrapper
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'AppsWrapper' do
21
21
  before do
22
22
  # run before each test
23
- @instance = OracleFunctions::AppsWrapper.new
23
+ @instance = Fn::AppsWrapper.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'AppsWrapper' do
29
29
 
30
30
  describe 'test an instance of AppsWrapper' do
31
31
  it 'should create an instance of AppsWrapper' do
32
- expect(@instance).to be_instance_of(OracleFunctions::AppsWrapper)
32
+ expect(@instance).to be_instance_of(Fn::AppsWrapper)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "apps"' do
@@ -14,13 +14,13 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OracleFunctions::ErrorBody
17
+ # Unit tests for Fn::ErrorBody
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'ErrorBody' do
21
21
  before do
22
22
  # run before each test
23
- @instance = OracleFunctions::ErrorBody.new
23
+ @instance = Fn::ErrorBody.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'ErrorBody' do
29
29
 
30
30
  describe 'test an instance of ErrorBody' do
31
31
  it 'should create an instance of ErrorBody' do
32
- expect(@instance).to be_instance_of(OracleFunctions::ErrorBody)
32
+ expect(@instance).to be_instance_of(Fn::ErrorBody)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "message"' do
@@ -14,13 +14,13 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OracleFunctions::Error
17
+ # Unit tests for Fn::Error
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'Error' do
21
21
  before do
22
22
  # run before each test
23
- @instance = OracleFunctions::Error.new
23
+ @instance = Fn::Error.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'Error' do
29
29
 
30
30
  describe 'test an instance of Error' do
31
31
  it 'should create an instance of Error' do
32
- expect(@instance).to be_instance_of(OracleFunctions::Error)
32
+ expect(@instance).to be_instance_of(Fn::Error)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "error"' do
@@ -14,13 +14,13 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OracleFunctions::NewTask
17
+ # Unit tests for Fn::NewTask
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'NewTask' do
21
21
  before do
22
22
  # run before each test
23
- @instance = OracleFunctions::NewTask.new
23
+ @instance = Fn::NewTask.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'NewTask' do
29
29
 
30
30
  describe 'test an instance of NewTask' do
31
31
  it 'should create an instance of NewTask' do
32
- expect(@instance).to be_instance_of(OracleFunctions::NewTask)
32
+ expect(@instance).to be_instance_of(Fn::NewTask)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "image"' do
@@ -14,13 +14,13 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OracleFunctions::Route
17
+ # Unit tests for Fn::Route
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'Route' do
21
21
  before do
22
22
  # run before each test
23
- @instance = OracleFunctions::Route.new
23
+ @instance = Fn::Route.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'Route' do
29
29
 
30
30
  describe 'test an instance of Route' do
31
31
  it 'should create an instance of Route' do
32
- expect(@instance).to be_instance_of(OracleFunctions::Route)
32
+ expect(@instance).to be_instance_of(Fn::Route)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "path"' do
@@ -14,13 +14,13 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OracleFunctions::RouteWrapper
17
+ # Unit tests for Fn::RouteWrapper
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'RouteWrapper' do
21
21
  before do
22
22
  # run before each test
23
- @instance = OracleFunctions::RouteWrapper.new
23
+ @instance = Fn::RouteWrapper.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'RouteWrapper' do
29
29
 
30
30
  describe 'test an instance of RouteWrapper' do
31
31
  it 'should create an instance of RouteWrapper' do
32
- expect(@instance).to be_instance_of(OracleFunctions::RouteWrapper)
32
+ expect(@instance).to be_instance_of(Fn::RouteWrapper)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "message"' do
@@ -14,13 +14,13 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OracleFunctions::RoutesWrapper
17
+ # Unit tests for Fn::RoutesWrapper
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'RoutesWrapper' do
21
21
  before do
22
22
  # run before each test
23
- @instance = OracleFunctions::RoutesWrapper.new
23
+ @instance = Fn::RoutesWrapper.new
24
24
  end
25
25
 
26
26
  after do
@@ -29,7 +29,7 @@ describe 'RoutesWrapper' do
29
29
 
30
30
  describe 'test an instance of RoutesWrapper' do
31
31
  it 'should create an instance of RoutesWrapper' do
32
- expect(@instance).to be_instance_of(OracleFunctions::RoutesWrapper)
32
+ expect(@instance).to be_instance_of(Fn::RoutesWrapper)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "routes"' do