bullet_train_test 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +123 -0
  4. data/Rakefile +10 -0
  5. data/bullet_train_test.gemspec +38 -0
  6. data/docs/ApiV1GoalSerializer.md +18 -0
  7. data/docs/ApiV1GoalSerializerData.md +24 -0
  8. data/docs/ApiV1GoalSerializerDataAttributes.md +26 -0
  9. data/docs/ApiV1GoalSerializerDataRelationships.md +18 -0
  10. data/docs/ApiV1ProjectSerializer.md +18 -0
  11. data/docs/ApiV1ProjectSerializerData.md +24 -0
  12. data/docs/ApiV1ProjectSerializerDataAttributes.md +32 -0
  13. data/docs/ApiV1ProjectsTagSerializer.md +18 -0
  14. data/docs/ApiV1ProjectsTagSerializerData.md +24 -0
  15. data/docs/ApiV1ProjectsTagSerializerDataAttributes.md +26 -0
  16. data/docs/ApiV1ProjectsTagSerializerDataRelationships.md +18 -0
  17. data/docs/ApiV1ProjectsTagSerializerDataRelationshipsTeam.md +18 -0
  18. data/docs/ApiV1ProjectsTagSerializerDataRelationshipsTeamData.md +20 -0
  19. data/docs/ApiV1TeamSerializer.md +18 -0
  20. data/docs/ApiV1TeamSerializerData.md +24 -0
  21. data/docs/ApiV1TeamSerializerDataAttributes.md +28 -0
  22. data/docs/ApiV1TeamSerializerDataRelationships.md +18 -0
  23. data/docs/ApiV1TeamSerializerDataRelationshipsScaffoldingAbsolutelyAbstractCreativeConcepts.md +18 -0
  24. data/docs/GoalsApi.md +205 -0
  25. data/docs/MeApi.md +66 -0
  26. data/docs/ProjectsApi.md +472 -0
  27. data/docs/TeamsApi.md +628 -0
  28. data/git_push.sh +57 -0
  29. data/lib/bullet_train_test/api/goals_api.rb +210 -0
  30. data/lib/bullet_train_test/api/me_api.rb +73 -0
  31. data/lib/bullet_train_test/api/projects_api.rb +466 -0
  32. data/lib/bullet_train_test/api/teams_api.rb +611 -0
  33. data/lib/bullet_train_test/api_client.rb +389 -0
  34. data/lib/bullet_train_test/api_error.rb +57 -0
  35. data/lib/bullet_train_test/configuration.rb +271 -0
  36. data/lib/bullet_train_test/models/api_v1_goal_serializer.rb +219 -0
  37. data/lib/bullet_train_test/models/api_v1_goal_serializer_data.rb +245 -0
  38. data/lib/bullet_train_test/models/api_v1_goal_serializer_data_attributes.rb +254 -0
  39. data/lib/bullet_train_test/models/api_v1_goal_serializer_data_relationships.rb +218 -0
  40. data/lib/bullet_train_test/models/api_v1_project_serializer.rb +219 -0
  41. data/lib/bullet_train_test/models/api_v1_project_serializer_data.rb +245 -0
  42. data/lib/bullet_train_test/models/api_v1_project_serializer_data_attributes.rb +281 -0
  43. data/lib/bullet_train_test/models/api_v1_projects_tag_serializer.rb +219 -0
  44. data/lib/bullet_train_test/models/api_v1_projects_tag_serializer_data.rb +245 -0
  45. data/lib/bullet_train_test/models/api_v1_projects_tag_serializer_data_attributes.rb +254 -0
  46. data/lib/bullet_train_test/models/api_v1_projects_tag_serializer_data_relationships.rb +218 -0
  47. data/lib/bullet_train_test/models/api_v1_projects_tag_serializer_data_relationships_team.rb +218 -0
  48. data/lib/bullet_train_test/models/api_v1_projects_tag_serializer_data_relationships_team_data.rb +227 -0
  49. data/lib/bullet_train_test/models/api_v1_team_serializer.rb +219 -0
  50. data/lib/bullet_train_test/models/api_v1_team_serializer_data.rb +245 -0
  51. data/lib/bullet_train_test/models/api_v1_team_serializer_data_attributes.rb +263 -0
  52. data/lib/bullet_train_test/models/api_v1_team_serializer_data_relationships.rb +218 -0
  53. data/lib/bullet_train_test/models/api_v1_team_serializer_data_relationships_scaffolding_absolutely_abstract_creative_concepts.rb +220 -0
  54. data/lib/bullet_train_test/version.rb +15 -0
  55. data/lib/bullet_train_test.rb +61 -0
  56. data/spec/api/goals_api_spec.rb +69 -0
  57. data/spec/api/me_api_spec.rb +44 -0
  58. data/spec/api/projects_api_spec.rb +115 -0
  59. data/spec/api/teams_api_spec.rb +144 -0
  60. data/spec/api_client_spec.rb +226 -0
  61. data/spec/configuration_spec.rb +42 -0
  62. data/spec/models/api_v1_goal_serializer_data_attributes_spec.rb +58 -0
  63. data/spec/models/api_v1_goal_serializer_data_relationships_spec.rb +34 -0
  64. data/spec/models/api_v1_goal_serializer_data_spec.rb +52 -0
  65. data/spec/models/api_v1_goal_serializer_spec.rb +34 -0
  66. data/spec/models/api_v1_project_serializer_data_attributes_spec.rb +76 -0
  67. data/spec/models/api_v1_project_serializer_data_spec.rb +52 -0
  68. data/spec/models/api_v1_project_serializer_spec.rb +34 -0
  69. data/spec/models/api_v1_projects_tag_serializer_data_attributes_spec.rb +58 -0
  70. data/spec/models/api_v1_projects_tag_serializer_data_relationships_spec.rb +34 -0
  71. data/spec/models/api_v1_projects_tag_serializer_data_relationships_team_data_spec.rb +40 -0
  72. data/spec/models/api_v1_projects_tag_serializer_data_relationships_team_spec.rb +34 -0
  73. data/spec/models/api_v1_projects_tag_serializer_data_spec.rb +52 -0
  74. data/spec/models/api_v1_projects_tag_serializer_spec.rb +34 -0
  75. data/spec/models/api_v1_team_serializer_data_attributes_spec.rb +64 -0
  76. data/spec/models/api_v1_team_serializer_data_relationships_scaffolding_absolutely_abstract_creative_concepts_spec.rb +34 -0
  77. data/spec/models/api_v1_team_serializer_data_relationships_spec.rb +34 -0
  78. data/spec/models/api_v1_team_serializer_data_spec.rb +52 -0
  79. data/spec/models/api_v1_team_serializer_spec.rb +34 -0
  80. data/spec/spec_helper.rb +111 -0
  81. metadata +187 -0
data/docs/GoalsApi.md ADDED
@@ -0,0 +1,205 @@
1
+ # BulletTrainTest::GoalsApi
2
+
3
+ All URIs are relative to *https://bullettrainapi.eu.ngrok.io/api/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**delete_goals_id**](GoalsApi.md#delete_goals_id) | **DELETE** /goals/{id} | |
8
+ | [**get_goals_id**](GoalsApi.md#get_goals_id) | **GET** /goals/{id} | |
9
+ | [**put_goals_id**](GoalsApi.md#put_goals_id) | **PUT** /goals/{id} | |
10
+
11
+
12
+ ## delete_goals_id
13
+
14
+ > delete_goals_id(id)
15
+
16
+
17
+
18
+ Delete a Goal
19
+
20
+ ### Examples
21
+
22
+ ```ruby
23
+ require 'time'
24
+ require 'bullet_train_test'
25
+
26
+ api_instance = BulletTrainTest::GoalsApi.new
27
+ id = 56 # Integer | Goal ID
28
+
29
+ begin
30
+
31
+ api_instance.delete_goals_id(id)
32
+ rescue BulletTrainTest::ApiError => e
33
+ puts "Error when calling GoalsApi->delete_goals_id: #{e}"
34
+ end
35
+ ```
36
+
37
+ #### Using the delete_goals_id_with_http_info variant
38
+
39
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
40
+
41
+ > <Array(nil, Integer, Hash)> delete_goals_id_with_http_info(id)
42
+
43
+ ```ruby
44
+ begin
45
+
46
+ data, status_code, headers = api_instance.delete_goals_id_with_http_info(id)
47
+ p status_code # => 2xx
48
+ p headers # => { ... }
49
+ p data # => nil
50
+ rescue BulletTrainTest::ApiError => e
51
+ puts "Error when calling GoalsApi->delete_goals_id_with_http_info: #{e}"
52
+ end
53
+ ```
54
+
55
+ ### Parameters
56
+
57
+ | Name | Type | Description | Notes |
58
+ | ---- | ---- | ----------- | ----- |
59
+ | **id** | **Integer** | Goal ID | |
60
+
61
+ ### Return type
62
+
63
+ nil (empty response body)
64
+
65
+ ### Authorization
66
+
67
+ No authorization required
68
+
69
+ ### HTTP request headers
70
+
71
+ - **Content-Type**: Not defined
72
+ - **Accept**: Not defined
73
+
74
+
75
+ ## get_goals_id
76
+
77
+ > <ApiV1GoalSerializer> get_goals_id(id)
78
+
79
+
80
+
81
+ Retrieve a Goal
82
+
83
+ ### Examples
84
+
85
+ ```ruby
86
+ require 'time'
87
+ require 'bullet_train_test'
88
+
89
+ api_instance = BulletTrainTest::GoalsApi.new
90
+ id = 56 # Integer | Goal ID
91
+
92
+ begin
93
+
94
+ result = api_instance.get_goals_id(id)
95
+ p result
96
+ rescue BulletTrainTest::ApiError => e
97
+ puts "Error when calling GoalsApi->get_goals_id: #{e}"
98
+ end
99
+ ```
100
+
101
+ #### Using the get_goals_id_with_http_info variant
102
+
103
+ This returns an Array which contains the response data, status code and headers.
104
+
105
+ > <Array(<ApiV1GoalSerializer>, Integer, Hash)> get_goals_id_with_http_info(id)
106
+
107
+ ```ruby
108
+ begin
109
+
110
+ data, status_code, headers = api_instance.get_goals_id_with_http_info(id)
111
+ p status_code # => 2xx
112
+ p headers # => { ... }
113
+ p data # => <ApiV1GoalSerializer>
114
+ rescue BulletTrainTest::ApiError => e
115
+ puts "Error when calling GoalsApi->get_goals_id_with_http_info: #{e}"
116
+ end
117
+ ```
118
+
119
+ ### Parameters
120
+
121
+ | Name | Type | Description | Notes |
122
+ | ---- | ---- | ----------- | ----- |
123
+ | **id** | **Integer** | Goal ID | |
124
+
125
+ ### Return type
126
+
127
+ [**ApiV1GoalSerializer**](ApiV1GoalSerializer.md)
128
+
129
+ ### Authorization
130
+
131
+ No authorization required
132
+
133
+ ### HTTP request headers
134
+
135
+ - **Content-Type**: Not defined
136
+ - **Accept**: application/vnd.api+json
137
+
138
+
139
+ ## put_goals_id
140
+
141
+ > <ApiV1GoalSerializer> put_goals_id(id, opts)
142
+
143
+
144
+
145
+ Update a Goal
146
+
147
+ ### Examples
148
+
149
+ ```ruby
150
+ require 'time'
151
+ require 'bullet_train_test'
152
+
153
+ api_instance = BulletTrainTest::GoalsApi.new
154
+ id = 56 # Integer | Goal ID
155
+ opts = {
156
+ unknown_base_type: TODO # UNKNOWN_BASE_TYPE |
157
+ }
158
+
159
+ begin
160
+
161
+ result = api_instance.put_goals_id(id, opts)
162
+ p result
163
+ rescue BulletTrainTest::ApiError => e
164
+ puts "Error when calling GoalsApi->put_goals_id: #{e}"
165
+ end
166
+ ```
167
+
168
+ #### Using the put_goals_id_with_http_info variant
169
+
170
+ This returns an Array which contains the response data, status code and headers.
171
+
172
+ > <Array(<ApiV1GoalSerializer>, Integer, Hash)> put_goals_id_with_http_info(id, opts)
173
+
174
+ ```ruby
175
+ begin
176
+
177
+ data, status_code, headers = api_instance.put_goals_id_with_http_info(id, opts)
178
+ p status_code # => 2xx
179
+ p headers # => { ... }
180
+ p data # => <ApiV1GoalSerializer>
181
+ rescue BulletTrainTest::ApiError => e
182
+ puts "Error when calling GoalsApi->put_goals_id_with_http_info: #{e}"
183
+ end
184
+ ```
185
+
186
+ ### Parameters
187
+
188
+ | Name | Type | Description | Notes |
189
+ | ---- | ---- | ----------- | ----- |
190
+ | **id** | **Integer** | Goal ID | |
191
+ | **unknown_base_type** | [**UNKNOWN_BASE_TYPE**](UNKNOWN_BASE_TYPE.md) | | [optional] |
192
+
193
+ ### Return type
194
+
195
+ [**ApiV1GoalSerializer**](ApiV1GoalSerializer.md)
196
+
197
+ ### Authorization
198
+
199
+ No authorization required
200
+
201
+ ### HTTP request headers
202
+
203
+ - **Content-Type**: application/json, multipart/form-data
204
+ - **Accept**: application/vnd.api+json
205
+
data/docs/MeApi.md ADDED
@@ -0,0 +1,66 @@
1
+ # BulletTrainTest::MeApi
2
+
3
+ All URIs are relative to *https://bullettrainapi.eu.ngrok.io/api/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get_me**](MeApi.md#get_me) | **GET** /me | |
8
+
9
+
10
+ ## get_me
11
+
12
+ > get_me
13
+
14
+
15
+
16
+ ### Examples
17
+
18
+ ```ruby
19
+ require 'time'
20
+ require 'bullet_train_test'
21
+
22
+ api_instance = BulletTrainTest::MeApi.new
23
+
24
+ begin
25
+
26
+ api_instance.get_me
27
+ rescue BulletTrainTest::ApiError => e
28
+ puts "Error when calling MeApi->get_me: #{e}"
29
+ end
30
+ ```
31
+
32
+ #### Using the get_me_with_http_info variant
33
+
34
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
35
+
36
+ > <Array(nil, Integer, Hash)> get_me_with_http_info
37
+
38
+ ```ruby
39
+ begin
40
+
41
+ data, status_code, headers = api_instance.get_me_with_http_info
42
+ p status_code # => 2xx
43
+ p headers # => { ... }
44
+ p data # => nil
45
+ rescue BulletTrainTest::ApiError => e
46
+ puts "Error when calling MeApi->get_me_with_http_info: #{e}"
47
+ end
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+ This endpoint does not need any parameter.
53
+
54
+ ### Return type
55
+
56
+ nil (empty response body)
57
+
58
+ ### Authorization
59
+
60
+ No authorization required
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: Not defined
65
+ - **Accept**: Not defined
66
+