mindbody-api 1.0.1.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/.travis.yml +5 -0
  4. data/CONTRIBUTING.md +16 -0
  5. data/Gemfile +12 -0
  6. data/Guardfile +6 -0
  7. data/LICENSE.md +22 -0
  8. data/README.md +79 -0
  9. data/Rakefile +52 -0
  10. data/lib/mindbody-api.rb +35 -0
  11. data/lib/mindbody-api/api_status.rb +109 -0
  12. data/lib/mindbody-api/client.rb +39 -0
  13. data/lib/mindbody-api/ext/savon_ext.rb +53 -0
  14. data/lib/mindbody-api/models.rb +34 -0
  15. data/lib/mindbody-api/models/appointment.rb +22 -0
  16. data/lib/mindbody-api/models/appointment_status.rb +13 -0
  17. data/lib/mindbody-api/models/availability.rb +11 -0
  18. data/lib/mindbody-api/models/class.rb +31 -0
  19. data/lib/mindbody-api/models/class_description.rb +14 -0
  20. data/lib/mindbody-api/models/class_schedule.rb +26 -0
  21. data/lib/mindbody-api/models/client.rb +32 -0
  22. data/lib/mindbody-api/models/client_service.rb +16 -0
  23. data/lib/mindbody-api/models/course.rb +16 -0
  24. data/lib/mindbody-api/models/level.rb +8 -0
  25. data/lib/mindbody-api/models/location.rb +38 -0
  26. data/lib/mindbody-api/models/payment.rb +11 -0
  27. data/lib/mindbody-api/models/program.rb +9 -0
  28. data/lib/mindbody-api/models/resource.rb +8 -0
  29. data/lib/mindbody-api/models/sale.rb +10 -0
  30. data/lib/mindbody-api/models/sale_item.rb +14 -0
  31. data/lib/mindbody-api/models/schedule_type.rb +13 -0
  32. data/lib/mindbody-api/models/semester.rb +9 -0
  33. data/lib/mindbody-api/models/service.rb +13 -0
  34. data/lib/mindbody-api/models/session_type.rb +8 -0
  35. data/lib/mindbody-api/models/site.rb +23 -0
  36. data/lib/mindbody-api/models/staff.rb +32 -0
  37. data/lib/mindbody-api/models/unavailability.rb +7 -0
  38. data/lib/mindbody-api/models/visit.rb +19 -0
  39. data/lib/mindbody-api/response.rb +119 -0
  40. data/lib/mindbody-api/service.rb +39 -0
  41. data/lib/mindbody-api/services/appointment_service.rb +15 -0
  42. data/lib/mindbody-api/services/class_service.rb +12 -0
  43. data/lib/mindbody-api/services/client_service.rb +30 -0
  44. data/lib/mindbody-api/services/finder_service.rb +11 -0
  45. data/lib/mindbody-api/services/sale_service.rb +14 -0
  46. data/lib/mindbody-api/services/site_service.rb +15 -0
  47. data/lib/mindbody-api/services/staff_service.rb +12 -0
  48. data/lib/mindbody-api/version.rb +4 -0
  49. data/mindbody-api.gemspec +29 -0
  50. data/spec/api_status_spec.rb +110 -0
  51. data/spec/client_spec.rb +51 -0
  52. data/spec/fixtures/wsdl/geotrust.wsdl +156 -0
  53. data/spec/mindbody_spec.rb +79 -0
  54. data/spec/model_spec.rb +7 -0
  55. data/spec/models/appointment_spec.rb +18 -0
  56. data/spec/models/appointment_status_spec.rb +17 -0
  57. data/spec/models/availability.rb +8 -0
  58. data/spec/models/class_description_spec.rb +12 -0
  59. data/spec/models/class_schedule_spec.rb +24 -0
  60. data/spec/models/class_spec.rb +39 -0
  61. data/spec/models/client_service_spec.rb +13 -0
  62. data/spec/models/client_spec.rb +33 -0
  63. data/spec/models/course_spec.rb +14 -0
  64. data/spec/models/level_spec.rb +6 -0
  65. data/spec/models/location_spec.rb +34 -0
  66. data/spec/models/payment_spec.rb +9 -0
  67. data/spec/models/program_spec.rb +7 -0
  68. data/spec/models/resource_spec.rb +6 -0
  69. data/spec/models/sale_item_spec.rb +12 -0
  70. data/spec/models/sale_spec.rb +8 -0
  71. data/spec/models/schedule_type_spec.rb +17 -0
  72. data/spec/models/semester_spec.rb +7 -0
  73. data/spec/models/service_spec.rb +11 -0
  74. data/spec/models/session_type_spec.rb +6 -0
  75. data/spec/models/site_spec.rb +31 -0
  76. data/spec/models/staff_spec.rb +29 -0
  77. data/spec/models/unavailability.rb +5 -0
  78. data/spec/models/visit_spec.rb +16 -0
  79. data/spec/response_spec.rb +115 -0
  80. data/spec/service_spec.rb +106 -0
  81. data/spec/services/appointment_service_spec.rb +13 -0
  82. data/spec/services/class_service_spec.rb +10 -0
  83. data/spec/services/client_service_spec.rb +27 -0
  84. data/spec/services/finder_service_spec.rb +9 -0
  85. data/spec/services/sale_service_spec.rb +12 -0
  86. data/spec/services/site_service_spec.rb +13 -0
  87. data/spec/services/staff_service_spec.rb +10 -0
  88. data/spec/spec_helper.rb +18 -0
  89. data/wsdl/AppointmentService.wsdl +1084 -0
  90. data/wsdl/ClassService.wsdl +1656 -0
  91. data/wsdl/ClientService.wsdl +2295 -0
  92. data/wsdl/FinderService.wsdl +1427 -0
  93. data/wsdl/SaleService.wsdl +1678 -0
  94. data/wsdl/SiteService.wsdl +915 -0
  95. data/wsdl/StaffService.wsdl +939 -0
  96. metadata +277 -0
metadata ADDED
@@ -0,0 +1,277 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mindbody-api
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1.alpha
5
+ platform: ruby
6
+ authors:
7
+ - Stafford Brunk
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-09-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: savon
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 2.11.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 2.11.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: virtus
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 3.2.11
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 3.2.11
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 2.14.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 2.14.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: 0.8.2
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: 0.8.2
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard-rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 4.2.8
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: 4.2.8
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: 10.0.3
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 10.0.3
111
+ description: A Ruby interface for the MindBody API
112
+ email:
113
+ - stafford.brunk@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - .gitignore
119
+ - .travis.yml
120
+ - CONTRIBUTING.md
121
+ - Gemfile
122
+ - Guardfile
123
+ - LICENSE.md
124
+ - README.md
125
+ - Rakefile
126
+ - lib/mindbody-api.rb
127
+ - lib/mindbody-api/api_status.rb
128
+ - lib/mindbody-api/client.rb
129
+ - lib/mindbody-api/ext/savon_ext.rb
130
+ - lib/mindbody-api/models.rb
131
+ - lib/mindbody-api/models/appointment.rb
132
+ - lib/mindbody-api/models/appointment_status.rb
133
+ - lib/mindbody-api/models/availability.rb
134
+ - lib/mindbody-api/models/class.rb
135
+ - lib/mindbody-api/models/class_description.rb
136
+ - lib/mindbody-api/models/class_schedule.rb
137
+ - lib/mindbody-api/models/client.rb
138
+ - lib/mindbody-api/models/client_service.rb
139
+ - lib/mindbody-api/models/course.rb
140
+ - lib/mindbody-api/models/level.rb
141
+ - lib/mindbody-api/models/location.rb
142
+ - lib/mindbody-api/models/payment.rb
143
+ - lib/mindbody-api/models/program.rb
144
+ - lib/mindbody-api/models/resource.rb
145
+ - lib/mindbody-api/models/sale.rb
146
+ - lib/mindbody-api/models/sale_item.rb
147
+ - lib/mindbody-api/models/schedule_type.rb
148
+ - lib/mindbody-api/models/semester.rb
149
+ - lib/mindbody-api/models/service.rb
150
+ - lib/mindbody-api/models/session_type.rb
151
+ - lib/mindbody-api/models/site.rb
152
+ - lib/mindbody-api/models/staff.rb
153
+ - lib/mindbody-api/models/unavailability.rb
154
+ - lib/mindbody-api/models/visit.rb
155
+ - lib/mindbody-api/response.rb
156
+ - lib/mindbody-api/service.rb
157
+ - lib/mindbody-api/services/appointment_service.rb
158
+ - lib/mindbody-api/services/class_service.rb
159
+ - lib/mindbody-api/services/client_service.rb
160
+ - lib/mindbody-api/services/finder_service.rb
161
+ - lib/mindbody-api/services/sale_service.rb
162
+ - lib/mindbody-api/services/site_service.rb
163
+ - lib/mindbody-api/services/staff_service.rb
164
+ - lib/mindbody-api/version.rb
165
+ - mindbody-api.gemspec
166
+ - spec/api_status_spec.rb
167
+ - spec/client_spec.rb
168
+ - spec/fixtures/wsdl/geotrust.wsdl
169
+ - spec/mindbody_spec.rb
170
+ - spec/model_spec.rb
171
+ - spec/models/appointment_spec.rb
172
+ - spec/models/appointment_status_spec.rb
173
+ - spec/models/availability.rb
174
+ - spec/models/class_description_spec.rb
175
+ - spec/models/class_schedule_spec.rb
176
+ - spec/models/class_spec.rb
177
+ - spec/models/client_service_spec.rb
178
+ - spec/models/client_spec.rb
179
+ - spec/models/course_spec.rb
180
+ - spec/models/level_spec.rb
181
+ - spec/models/location_spec.rb
182
+ - spec/models/payment_spec.rb
183
+ - spec/models/program_spec.rb
184
+ - spec/models/resource_spec.rb
185
+ - spec/models/sale_item_spec.rb
186
+ - spec/models/sale_spec.rb
187
+ - spec/models/schedule_type_spec.rb
188
+ - spec/models/semester_spec.rb
189
+ - spec/models/service_spec.rb
190
+ - spec/models/session_type_spec.rb
191
+ - spec/models/site_spec.rb
192
+ - spec/models/staff_spec.rb
193
+ - spec/models/unavailability.rb
194
+ - spec/models/visit_spec.rb
195
+ - spec/response_spec.rb
196
+ - spec/service_spec.rb
197
+ - spec/services/appointment_service_spec.rb
198
+ - spec/services/class_service_spec.rb
199
+ - spec/services/client_service_spec.rb
200
+ - spec/services/finder_service_spec.rb
201
+ - spec/services/sale_service_spec.rb
202
+ - spec/services/site_service_spec.rb
203
+ - spec/services/staff_service_spec.rb
204
+ - spec/spec_helper.rb
205
+ - wsdl/AppointmentService.wsdl
206
+ - wsdl/ClassService.wsdl
207
+ - wsdl/ClientService.wsdl
208
+ - wsdl/FinderService.wsdl
209
+ - wsdl/SaleService.wsdl
210
+ - wsdl/SiteService.wsdl
211
+ - wsdl/StaffService.wsdl
212
+ homepage: http://wingrunr21.github.io/mindbody-api/
213
+ licenses:
214
+ - MIT
215
+ metadata: {}
216
+ post_install_message:
217
+ rdoc_options: []
218
+ require_paths:
219
+ - lib
220
+ required_ruby_version: !ruby/object:Gem::Requirement
221
+ requirements:
222
+ - - '>='
223
+ - !ruby/object:Gem::Version
224
+ version: '0'
225
+ required_rubygems_version: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - '>'
228
+ - !ruby/object:Gem::Version
229
+ version: 1.3.1
230
+ requirements: []
231
+ rubyforge_project:
232
+ rubygems_version: 2.0.14.1
233
+ signing_key:
234
+ specification_version: 4
235
+ summary: This gem provides a Ruby interface for the MindBody API in both a services
236
+ format and a 'Rails-style' format
237
+ test_files:
238
+ - spec/api_status_spec.rb
239
+ - spec/client_spec.rb
240
+ - spec/fixtures/wsdl/geotrust.wsdl
241
+ - spec/mindbody_spec.rb
242
+ - spec/model_spec.rb
243
+ - spec/models/appointment_spec.rb
244
+ - spec/models/appointment_status_spec.rb
245
+ - spec/models/availability.rb
246
+ - spec/models/class_description_spec.rb
247
+ - spec/models/class_schedule_spec.rb
248
+ - spec/models/class_spec.rb
249
+ - spec/models/client_service_spec.rb
250
+ - spec/models/client_spec.rb
251
+ - spec/models/course_spec.rb
252
+ - spec/models/level_spec.rb
253
+ - spec/models/location_spec.rb
254
+ - spec/models/payment_spec.rb
255
+ - spec/models/program_spec.rb
256
+ - spec/models/resource_spec.rb
257
+ - spec/models/sale_item_spec.rb
258
+ - spec/models/sale_spec.rb
259
+ - spec/models/schedule_type_spec.rb
260
+ - spec/models/semester_spec.rb
261
+ - spec/models/service_spec.rb
262
+ - spec/models/session_type_spec.rb
263
+ - spec/models/site_spec.rb
264
+ - spec/models/staff_spec.rb
265
+ - spec/models/unavailability.rb
266
+ - spec/models/visit_spec.rb
267
+ - spec/response_spec.rb
268
+ - spec/service_spec.rb
269
+ - spec/services/appointment_service_spec.rb
270
+ - spec/services/class_service_spec.rb
271
+ - spec/services/client_service_spec.rb
272
+ - spec/services/finder_service_spec.rb
273
+ - spec/services/sale_service_spec.rb
274
+ - spec/services/site_service_spec.rb
275
+ - spec/services/staff_service_spec.rb
276
+ - spec/spec_helper.rb
277
+ has_rdoc: