dock_genius_api_ruby_client 0.1.1.pre.g582ac6 → 0.1.2.pre.ge30447

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/config.json +10 -0
  3. data/dg-api-gem +1 -0
  4. data/swagger.yml +3075 -0
  5. metadata +170 -78
  6. data/LICENSE +0 -201
  7. data/README.md +0 -200
  8. data/dock_genius_api_ruby_client.gemspec +0 -55
  9. data/docs/AccessToken.md +0 -11
  10. data/docs/Address.md +0 -16
  11. data/docs/Customer.md +0 -22
  12. data/docs/CustomerApi.md +0 -1938
  13. data/docs/Dock.md +0 -20
  14. data/docs/DockApi.md +0 -1112
  15. data/docs/EmailAddress.md +0 -9
  16. data/docs/GeoPoint.md +0 -9
  17. data/docs/InlineResponse200.md +0 -8
  18. data/docs/InlineResponse2001.md +0 -8
  19. data/docs/InlineResponse2002.md +0 -8
  20. data/docs/ListingAgent.md +0 -12
  21. data/docs/Marina.md +0 -15
  22. data/docs/MarinaApi.md +0 -1602
  23. data/docs/Phone.md +0 -9
  24. data/git_push.sh +0 -67
  25. data/lib/dock_genius_api_ruby_client.rb +0 -65
  26. data/lib/dock_genius_api_ruby_client/api/customer_api.rb +0 -2363
  27. data/lib/dock_genius_api_ruby_client/api/dock_api.rb +0 -1352
  28. data/lib/dock_genius_api_ruby_client/api/marina_api.rb +0 -1945
  29. data/lib/dock_genius_api_ruby_client/api_client.rb +0 -378
  30. data/lib/dock_genius_api_ruby_client/api_error.rb +0 -47
  31. data/lib/dock_genius_api_ruby_client/configuration.rb +0 -207
  32. data/lib/dock_genius_api_ruby_client/models/access_token.rb +0 -230
  33. data/lib/dock_genius_api_ruby_client/models/address.rb +0 -281
  34. data/lib/dock_genius_api_ruby_client/models/customer.rb +0 -330
  35. data/lib/dock_genius_api_ruby_client/models/dock.rb +0 -327
  36. data/lib/dock_genius_api_ruby_client/models/email_address.rb +0 -208
  37. data/lib/dock_genius_api_ruby_client/models/geo_point.rb +0 -208
  38. data/lib/dock_genius_api_ruby_client/models/inline_response_200.rb +0 -199
  39. data/lib/dock_genius_api_ruby_client/models/inline_response_200_1.rb +0 -200
  40. data/lib/dock_genius_api_ruby_client/models/inline_response_200_2.rb +0 -199
  41. data/lib/dock_genius_api_ruby_client/models/listing_agent.rb +0 -239
  42. data/lib/dock_genius_api_ruby_client/models/marina.rb +0 -263
  43. data/lib/dock_genius_api_ruby_client/models/phone.rb +0 -209
  44. data/lib/dock_genius_api_ruby_client/version.rb +0 -26
  45. data/spec/api/customer_api_spec.rb +0 -551
  46. data/spec/api/dock_api_spec.rb +0 -332
  47. data/spec/api/marina_api_spec.rb +0 -461
  48. data/spec/api_client_spec.rb +0 -237
  49. data/spec/configuration_spec.rb +0 -53
  50. data/spec/models/access_token_spec.rb +0 -71
  51. data/spec/models/address_spec.rb +0 -101
  52. data/spec/models/customer_spec.rb +0 -137
  53. data/spec/models/dock_spec.rb +0 -125
  54. data/spec/models/email_address_spec.rb +0 -59
  55. data/spec/models/geo_point_spec.rb +0 -59
  56. data/spec/models/inline_response_200_1_spec.rb +0 -53
  57. data/spec/models/inline_response_200_2_spec.rb +0 -53
  58. data/spec/models/inline_response_200_spec.rb +0 -53
  59. data/spec/models/listing_agent_spec.rb +0 -77
  60. data/spec/models/marina_spec.rb +0 -95
  61. data/spec/models/phone_spec.rb +0 -59
  62. data/spec/spec_helper.rb +0 -122
@@ -1,53 +0,0 @@
1
- =begin
2
- #dockgenius-sl
3
-
4
- #No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 0.1.0
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- Licensed under the Apache License, Version 2.0 (the "License");
11
- you may not use this file except in compliance with the License.
12
- You may obtain a copy of the License at
13
-
14
- http://www.apache.org/licenses/LICENSE-2.0
15
-
16
- Unless required by applicable law or agreed to in writing, software
17
- distributed under the License is distributed on an "AS IS" BASIS,
18
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- See the License for the specific language governing permissions and
20
- limitations under the License.
21
-
22
- =end
23
-
24
- require 'spec_helper'
25
- require 'json'
26
- require 'date'
27
-
28
- # Unit tests for DockGeniusApiRubyClient::InlineResponse200
29
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
- # Please update as you see appropriate
31
- describe 'InlineResponse200' do
32
- before do
33
- # run before each test
34
- @instance = DockGeniusApiRubyClient::InlineResponse200.new
35
- end
36
-
37
- after do
38
- # run after each test
39
- end
40
-
41
- describe 'test an instance of InlineResponse200' do
42
- it 'should create an instact of InlineResponse200' do
43
- expect(@instance).to be_instance_of(DockGeniusApiRubyClient::InlineResponse200)
44
- end
45
- end
46
- describe 'test attribute "count"' do
47
- it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
- end
50
- end
51
-
52
- end
53
-
@@ -1,77 +0,0 @@
1
- =begin
2
- #dockgenius-sl
3
-
4
- #No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 0.1.0
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- Licensed under the Apache License, Version 2.0 (the "License");
11
- you may not use this file except in compliance with the License.
12
- You may obtain a copy of the License at
13
-
14
- http://www.apache.org/licenses/LICENSE-2.0
15
-
16
- Unless required by applicable law or agreed to in writing, software
17
- distributed under the License is distributed on an "AS IS" BASIS,
18
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- See the License for the specific language governing permissions and
20
- limitations under the License.
21
-
22
- =end
23
-
24
- require 'spec_helper'
25
- require 'json'
26
- require 'date'
27
-
28
- # Unit tests for DockGeniusApiRubyClient::ListingAgent
29
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
- # Please update as you see appropriate
31
- describe 'ListingAgent' do
32
- before do
33
- # run before each test
34
- @instance = DockGeniusApiRubyClient::ListingAgent.new
35
- end
36
-
37
- after do
38
- # run after each test
39
- end
40
-
41
- describe 'test an instance of ListingAgent' do
42
- it 'should create an instact of ListingAgent' do
43
- expect(@instance).to be_instance_of(DockGeniusApiRubyClient::ListingAgent)
44
- end
45
- end
46
- describe 'test attribute "name"' do
47
- it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
- end
50
- end
51
-
52
- describe 'test attribute "id"' do
53
- it 'should work' do
54
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
- end
56
- end
57
-
58
- describe 'test attribute "contact_address"' do
59
- it 'should work' do
60
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
- end
62
- end
63
-
64
- describe 'test attribute "email_list"' do
65
- it 'should work' do
66
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
- end
68
- end
69
-
70
- describe 'test attribute "phone_list"' do
71
- it 'should work' do
72
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
- end
74
- end
75
-
76
- end
77
-
@@ -1,95 +0,0 @@
1
- =begin
2
- #dockgenius-sl
3
-
4
- #No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 0.1.0
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- Licensed under the Apache License, Version 2.0 (the "License");
11
- you may not use this file except in compliance with the License.
12
- You may obtain a copy of the License at
13
-
14
- http://www.apache.org/licenses/LICENSE-2.0
15
-
16
- Unless required by applicable law or agreed to in writing, software
17
- distributed under the License is distributed on an "AS IS" BASIS,
18
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- See the License for the specific language governing permissions and
20
- limitations under the License.
21
-
22
- =end
23
-
24
- require 'spec_helper'
25
- require 'json'
26
- require 'date'
27
-
28
- # Unit tests for DockGeniusApiRubyClient::Marina
29
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
- # Please update as you see appropriate
31
- describe 'Marina' do
32
- before do
33
- # run before each test
34
- @instance = DockGeniusApiRubyClient::Marina.new
35
- end
36
-
37
- after do
38
- # run after each test
39
- end
40
-
41
- describe 'test an instance of Marina' do
42
- it 'should create an instact of Marina' do
43
- expect(@instance).to be_instance_of(DockGeniusApiRubyClient::Marina)
44
- end
45
- end
46
- describe 'test attribute "name"' do
47
- it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
- end
50
- end
51
-
52
- describe 'test attribute "location"' do
53
- it 'should work' do
54
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
- end
56
- end
57
-
58
- describe 'test attribute "source"' do
59
- it 'should work' do
60
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
- end
62
- end
63
-
64
- describe 'test attribute "created"' do
65
- it 'should work' do
66
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
- end
68
- end
69
-
70
- describe 'test attribute "last_updated"' do
71
- it 'should work' do
72
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
- end
74
- end
75
-
76
- describe 'test attribute "id"' do
77
- it 'should work' do
78
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
- end
80
- end
81
-
82
- describe 'test attribute "physical_address"' do
83
- it 'should work' do
84
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
- end
86
- end
87
-
88
- describe 'test attribute "_listing_agent"' do
89
- it 'should work' do
90
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
- end
92
- end
93
-
94
- end
95
-
@@ -1,59 +0,0 @@
1
- =begin
2
- #dockgenius-sl
3
-
4
- #No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 0.1.0
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- Licensed under the Apache License, Version 2.0 (the "License");
11
- you may not use this file except in compliance with the License.
12
- You may obtain a copy of the License at
13
-
14
- http://www.apache.org/licenses/LICENSE-2.0
15
-
16
- Unless required by applicable law or agreed to in writing, software
17
- distributed under the License is distributed on an "AS IS" BASIS,
18
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- See the License for the specific language governing permissions and
20
- limitations under the License.
21
-
22
- =end
23
-
24
- require 'spec_helper'
25
- require 'json'
26
- require 'date'
27
-
28
- # Unit tests for DockGeniusApiRubyClient::Phone
29
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
30
- # Please update as you see appropriate
31
- describe 'Phone' do
32
- before do
33
- # run before each test
34
- @instance = DockGeniusApiRubyClient::Phone.new
35
- end
36
-
37
- after do
38
- # run after each test
39
- end
40
-
41
- describe 'test an instance of Phone' do
42
- it 'should create an instact of Phone' do
43
- expect(@instance).to be_instance_of(DockGeniusApiRubyClient::Phone)
44
- end
45
- end
46
- describe 'test attribute "number"' do
47
- it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
- end
50
- end
51
-
52
- describe 'test attribute "id"' do
53
- it 'should work' do
54
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
- end
56
- end
57
-
58
- end
59
-
@@ -1,122 +0,0 @@
1
- =begin
2
- #dockgenius-sl
3
-
4
- #No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 0.1.0
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- Licensed under the Apache License, Version 2.0 (the "License");
11
- you may not use this file except in compliance with the License.
12
- You may obtain a copy of the License at
13
-
14
- http://www.apache.org/licenses/LICENSE-2.0
15
-
16
- Unless required by applicable law or agreed to in writing, software
17
- distributed under the License is distributed on an "AS IS" BASIS,
18
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- See the License for the specific language governing permissions and
20
- limitations under the License.
21
-
22
- =end
23
-
24
- # load the gem
25
- require 'dock_genius_api_ruby_client'
26
-
27
- # The following was generated by the `rspec --init` command. Conventionally, all
28
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
29
- # The generated `.rspec` file contains `--require spec_helper` which will cause
30
- # this file to always be loaded, without a need to explicitly require it in any
31
- # files.
32
- #
33
- # Given that it is always loaded, you are encouraged to keep this file as
34
- # light-weight as possible. Requiring heavyweight dependencies from this file
35
- # will add to the boot time of your test suite on EVERY test run, even for an
36
- # individual file that may not need all of that loaded. Instead, consider making
37
- # a separate helper file that requires the additional dependencies and performs
38
- # the additional setup, and require it from the spec files that actually need
39
- # it.
40
- #
41
- # The `.rspec` file also contains a few flags that are not defaults but that
42
- # users commonly want.
43
- #
44
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
45
- RSpec.configure do |config|
46
- # rspec-expectations config goes here. You can use an alternate
47
- # assertion/expectation library such as wrong or the stdlib/minitest
48
- # assertions if you prefer.
49
- config.expect_with :rspec do |expectations|
50
- # This option will default to `true` in RSpec 4. It makes the `description`
51
- # and `failure_message` of custom matchers include text for helper methods
52
- # defined using `chain`, e.g.:
53
- # be_bigger_than(2).and_smaller_than(4).description
54
- # # => "be bigger than 2 and smaller than 4"
55
- # ...rather than:
56
- # # => "be bigger than 2"
57
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
58
- end
59
-
60
- # rspec-mocks config goes here. You can use an alternate test double
61
- # library (such as bogus or mocha) by changing the `mock_with` option here.
62
- config.mock_with :rspec do |mocks|
63
- # Prevents you from mocking or stubbing a method that does not exist on
64
- # a real object. This is generally recommended, and will default to
65
- # `true` in RSpec 4.
66
- mocks.verify_partial_doubles = true
67
- end
68
-
69
- # The settings below are suggested to provide a good initial experience
70
- # with RSpec, but feel free to customize to your heart's content.
71
- =begin
72
- # These two settings work together to allow you to limit a spec run
73
- # to individual examples or groups you care about by tagging them with
74
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
75
- # get run.
76
- config.filter_run :focus
77
- config.run_all_when_everything_filtered = true
78
-
79
- # Allows RSpec to persist some state between runs in order to support
80
- # the `--only-failures` and `--next-failure` CLI options. We recommend
81
- # you configure your source control system to ignore this file.
82
- config.example_status_persistence_file_path = "spec/examples.txt"
83
-
84
- # Limits the available syntax to the non-monkey patched syntax that is
85
- # recommended. For more details, see:
86
- # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
87
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
88
- # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
89
- config.disable_monkey_patching!
90
-
91
- # This setting enables warnings. It's recommended, but in some cases may
92
- # be too noisy due to issues in dependencies.
93
- config.warnings = true
94
-
95
- # Many RSpec users commonly either run the entire suite or an individual
96
- # file, and it's useful to allow more verbose output when running an
97
- # individual spec file.
98
- if config.files_to_run.one?
99
- # Use the documentation formatter for detailed output,
100
- # unless a formatter has already been configured
101
- # (e.g. via a command-line flag).
102
- config.default_formatter = 'doc'
103
- end
104
-
105
- # Print the 10 slowest examples and example groups at the
106
- # end of the spec run, to help surface which specs are running
107
- # particularly slow.
108
- config.profile_examples = 10
109
-
110
- # Run specs in random order to surface order dependencies. If you find an
111
- # order dependency and want to debug it, you can fix the order by providing
112
- # the seed, which is printed after each run.
113
- # --seed 1234
114
- config.order = :random
115
-
116
- # Seed global randomization in this process using the `--seed` CLI option.
117
- # Setting this allows you to use `--seed` to deterministically reproduce
118
- # test failures related to randomization by passing the same `--seed` value
119
- # as the one that triggered the failure.
120
- Kernel.srand config.seed
121
- =end
122
- end