bigcommerce-oauth-api 1.1.4 → 1.1.5
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/bigcommerce-oauth-api.gemspec +2 -1
- data/lib/bigcommerce-oauth-api/client.rb +135 -675
- data/lib/bigcommerce-oauth-api/version.rb +1 -1
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05b4b880635f6fe8171403389c9fea92c38e5085
|
4
|
+
data.tar.gz: 806eee759ea724460abfc652c92c408c7de93376
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b99f001bda6eb84986de1424defc4268543b570fc02743facd0227b2591b2b043ae85ec694a261d4be3f42234a035c21414fc74ee94c9328fe7c6873da9b071d
|
7
|
+
data.tar.gz: 50f87ff14ffba40c076f0f04a67c50173a9dc8a6bd5bae8a935b4374fd43ae757bde1666f5b426df92e4d621e2e44402713075fe28b7ebf7fad7ecf2b90445e8
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,7 @@ require File.expand_path('../lib/bigcommerce-oauth-api/version', __FILE__)
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'bigcommerce-oauth-api'
|
5
5
|
s.version = BigcommerceOAuthAPI::VERSION.dup
|
6
|
-
s.date = '2014-
|
6
|
+
s.date = '2014-12-25'
|
7
7
|
s.summary = "Ruby wrapper for the Bigcommerce REST API using OAuth"
|
8
8
|
s.description = "Connect Ruby applications with the Bigcommerce REST API using OAuth"
|
9
9
|
s.authors = ["Christian Orthmann"]
|
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.add_development_dependency('webmock', '~> 1')
|
20
20
|
s.add_development_dependency('simplecov', '~> 0')
|
21
21
|
s.add_development_dependency('simplecov-rcov', '~> 0')
|
22
|
+
s.add_development_dependency('yard', '~> 0')
|
22
23
|
s.add_runtime_dependency('faraday', '~> 0')
|
23
24
|
s.add_runtime_dependency('faraday_middleware', '~> 0')
|
24
25
|
s.add_runtime_dependency('activesupport', '>= 3.0.0', '< 5.0.0')
|
@@ -56,950 +56,410 @@ module BigcommerceOAuthAPI
|
|
56
56
|
:tax_class => { api_module: :tax_class, scope: :self, methods: [:all, :select]},
|
57
57
|
:web_hook => { api_module: :hook, scope: :self, methods: [:all, :select, :create, :update, :delete]}
|
58
58
|
|
59
|
-
|
60
|
-
# :method: blog_posts
|
59
|
+
# @!method blog_posts(options = {})
|
61
60
|
# gets a list of posts
|
62
|
-
#
|
63
|
-
# :call-seq:
|
64
|
-
# blog_posts(options = {})
|
65
61
|
|
66
|
-
|
67
|
-
# :method: blog_post
|
62
|
+
# @!method blog_post(id, options = {})
|
68
63
|
# gets the post with the given id
|
69
|
-
#
|
70
|
-
# :call-seq:
|
71
|
-
# blog_post(id, options = {})
|
72
64
|
|
73
|
-
|
74
|
-
# :method: create_blog_post
|
65
|
+
# @!method create_blog_post(options = {})
|
75
66
|
# creates a post with the given attributes
|
76
|
-
#
|
77
|
-
# :call-seq:
|
78
|
-
# create_blog_post(options = {})
|
79
67
|
|
80
|
-
|
81
|
-
# :method: update_blog_post
|
68
|
+
# @!method update_blog_post(id, options = {})
|
82
69
|
# updates a post with the given attributes
|
83
|
-
#
|
84
|
-
# :call-seq:
|
85
|
-
# update_blog_post(id, options = {})
|
86
70
|
|
87
|
-
|
88
|
-
# :method: delete_blog_post
|
71
|
+
# @!method delete_blog_post(id)
|
89
72
|
# deletes the post with the given id
|
90
|
-
#
|
91
|
-
# :call-seq:
|
92
|
-
# delete_blog_post(id)
|
93
73
|
|
94
|
-
|
95
|
-
# :method: blog_tags
|
74
|
+
# @!method blog_tags(options = {})
|
96
75
|
# gets a list of tags
|
97
|
-
#
|
98
|
-
# :call-seq:
|
99
|
-
# blog_tags(options = {})
|
100
76
|
|
101
|
-
|
102
|
-
# :method: brands
|
77
|
+
# @!method brands(options = {})
|
103
78
|
# gets a list of brands
|
104
|
-
#
|
105
|
-
# :call-seq:
|
106
|
-
# brands(options = {})
|
107
79
|
|
108
|
-
|
109
|
-
# :method: brand
|
80
|
+
# @!method brand(id, options = {})
|
110
81
|
# gets the brand with the given id
|
111
|
-
#
|
112
|
-
# :call-seq:
|
113
|
-
# brand(id, options = {})
|
114
82
|
|
115
|
-
|
116
|
-
# :method: create_brand
|
83
|
+
# @!method create_brand(options = {})
|
117
84
|
# creates a brand with the given attributes
|
118
|
-
#
|
119
|
-
# :call-seq:
|
120
|
-
# create_brand(options = {})
|
121
85
|
|
122
|
-
|
123
|
-
# :method: update_brand
|
86
|
+
# @!method update_brand(id, options = {})
|
124
87
|
# updates a brand with the given attributes
|
125
|
-
#
|
126
|
-
# :call-seq:
|
127
|
-
# update_brand(id, options = {})
|
128
88
|
|
129
|
-
|
130
|
-
# :method: delete_brand
|
89
|
+
# @!method delete_brand(id)
|
131
90
|
# deletes the brand with the given id
|
132
|
-
#
|
133
|
-
# :call-seq:
|
134
|
-
# delete_brand(id)
|
135
91
|
|
136
|
-
|
137
|
-
# :method: categories
|
92
|
+
# @!method categories(options = {})
|
138
93
|
# gets a list of categories
|
139
|
-
#
|
140
|
-
# :call-seq:
|
141
|
-
# categories(options = {})
|
142
94
|
|
143
|
-
|
144
|
-
# :method: category
|
95
|
+
# @!method category(id, options = {})
|
145
96
|
# gets the category with the given id
|
146
|
-
#
|
147
|
-
# :call-seq:
|
148
|
-
# category(id, options = {})
|
149
97
|
|
150
|
-
|
151
|
-
# :method: create_category
|
98
|
+
# @!method create_category(options = {})
|
152
99
|
# creates a category with the given attributes
|
153
|
-
#
|
154
|
-
# :call-seq:
|
155
|
-
# create_category(options = {})
|
156
100
|
|
157
|
-
|
158
|
-
# :method: update_category
|
101
|
+
# @!method update_category(id, options = {})
|
159
102
|
# updates a category with the given attributes
|
160
|
-
#
|
161
|
-
# :call-seq:
|
162
|
-
# update_category(id, options = {})
|
163
103
|
|
164
|
-
|
165
|
-
# :method: delete_category
|
104
|
+
# @!method delete_category(id)
|
166
105
|
# deletes the category with the given id
|
167
|
-
#
|
168
|
-
# :call-seq:
|
169
|
-
# delete_category(id)
|
170
106
|
|
171
|
-
|
172
|
-
# :method: customers
|
107
|
+
# @!method customers(options = {})
|
173
108
|
# gets a list of customers
|
174
|
-
#
|
175
|
-
# :call-seq:
|
176
|
-
# customers(options = {})
|
177
109
|
|
178
|
-
|
179
|
-
# :method: customer
|
110
|
+
# @!method customer(id, options = {})
|
180
111
|
# gets the customer with the given id
|
181
|
-
#
|
182
|
-
# :call-seq:
|
183
|
-
# customer(id, options = {})
|
184
112
|
|
185
|
-
|
186
|
-
# :method: create_customer
|
113
|
+
# @!method create_customer(options = {})
|
187
114
|
# creates a customer with the given attributes
|
188
|
-
#
|
189
|
-
# :call-seq:
|
190
|
-
# create_customer(options = {})
|
191
115
|
|
192
|
-
|
193
|
-
# :method: update_customer
|
116
|
+
# @!method update_customer(id, options = {})
|
194
117
|
# updates a customer with the given attributes
|
195
|
-
#
|
196
|
-
# :call-seq:
|
197
|
-
# update_customer(id, options = {})
|
198
118
|
|
199
|
-
|
200
|
-
# :method: delete_customer
|
119
|
+
# @!method delete_customer(id)
|
201
120
|
# deletes the customer with the given id
|
202
|
-
#
|
203
|
-
# :call-seq:
|
204
|
-
# delete_customer(id)
|
205
121
|
|
206
|
-
|
207
|
-
# :method: customers_count
|
122
|
+
# @!method customers_count(options = {})
|
208
123
|
# counts the number of customers
|
209
|
-
#
|
210
|
-
# :call-seq:
|
211
|
-
# customers_count(options = {})
|
212
124
|
|
213
|
-
|
214
|
-
# :method: customer_addresses
|
125
|
+
# @!method customer_addresses(customer_id, options = {})
|
215
126
|
# gets a list of addresses for the given customer
|
216
|
-
#
|
217
|
-
# :call-seq:
|
218
|
-
# customer_addresses(customer_id, options = {})
|
219
127
|
|
220
|
-
|
221
|
-
# :method: customer_address
|
128
|
+
# @!method customer_address(customer_id, id, options = {})
|
222
129
|
# gets the address with the given id for the given customer
|
223
|
-
#
|
224
|
-
# :call-seq:
|
225
|
-
# customer_address(customer_id, id, options = {})
|
226
130
|
|
227
|
-
|
228
|
-
# :method: create_customer_address
|
131
|
+
# @!method create_customer_address(customer_id, options = {})
|
229
132
|
# creates a address with the given attributes for the given customer
|
230
|
-
#
|
231
|
-
# :call-seq:
|
232
|
-
# create_customer_address(customer_id, options = {})
|
233
133
|
|
234
|
-
|
235
|
-
# :method: update_customer_address
|
134
|
+
# @!method update_customer_address(customer_id, id, options = {})
|
236
135
|
# updates a address with the given attributes for the given customer
|
237
|
-
#
|
238
|
-
# :call-seq:
|
239
|
-
# update_customer_address(customer_id, id, options = {})
|
240
136
|
|
241
|
-
|
242
|
-
# :method: delete_customer_address
|
137
|
+
# @!method delete_customer_address(customer_id, id)
|
243
138
|
# deletes the address with the given id for the given customer
|
244
|
-
#
|
245
|
-
# :call-seq:
|
246
|
-
# delete_customer_address(customer_id, id)
|
247
139
|
|
248
|
-
|
249
|
-
# :method: customer_groups
|
140
|
+
# @!method customer_groups(options = {})
|
250
141
|
# gets a list of customer_groups
|
251
|
-
#
|
252
|
-
# :call-seq:
|
253
|
-
# customer_groups(options = {})
|
254
142
|
|
255
|
-
|
256
|
-
# :method: customer_group
|
143
|
+
# @!method customer_group(id, options = {})
|
257
144
|
# gets the customer_group with the given id
|
258
|
-
#
|
259
|
-
# :call-seq:
|
260
|
-
# customer_group(id, options = {})
|
261
145
|
|
262
|
-
|
263
|
-
# :method: create_customer_group
|
146
|
+
# @!method create_customer_group(options = {})
|
264
147
|
# creates a customer_group with the given attributes
|
265
|
-
#
|
266
|
-
# :call-seq:
|
267
|
-
# create_customer_group(options = {})
|
268
148
|
|
269
|
-
|
270
|
-
# :method: update_customer_group
|
149
|
+
# @!method update_customer_group(id, options = {})
|
271
150
|
# updates a customer_group with the given attributes
|
272
|
-
#
|
273
|
-
# :call-seq:
|
274
|
-
# update_customer_group(id, options = {})
|
275
151
|
|
276
|
-
|
277
|
-
# :method: delete_customer_group
|
152
|
+
# @!method delete_customer_group(id)
|
278
153
|
# deletes the customer_group with the given id
|
279
|
-
#
|
280
|
-
# :call-seq:
|
281
|
-
# delete_customer_group(id)
|
282
154
|
|
283
|
-
|
284
|
-
# :method: countries
|
155
|
+
# @!method countries(options = {})
|
285
156
|
# gets a list of countries
|
286
|
-
#
|
287
|
-
# :call-seq:
|
288
|
-
# countries(options = {})
|
289
157
|
|
290
|
-
|
291
|
-
# :method: country
|
158
|
+
# @!method country(id, options = {})
|
292
159
|
# gets the country with the given id
|
293
|
-
#
|
294
|
-
# :call-seq:
|
295
|
-
# country(id, options = {})
|
296
160
|
|
297
|
-
|
298
|
-
# :method: states
|
161
|
+
# @!method states(options = {})
|
299
162
|
# gets a list of states
|
300
|
-
#
|
301
|
-
# :call-seq:
|
302
|
-
# states(options = {})
|
303
163
|
|
304
|
-
|
305
|
-
# :method: state
|
164
|
+
# @!method state(id, options = {})
|
306
165
|
# gets the state with the given id
|
307
|
-
#
|
308
|
-
# :call-seq:
|
309
|
-
# state(id, options = {})
|
310
166
|
|
311
|
-
|
312
|
-
# :method: coupons
|
167
|
+
# @!method coupons(options = {})
|
313
168
|
# gets a list of coupons
|
314
|
-
#
|
315
|
-
# :call-seq:
|
316
|
-
# coupons(options = {})
|
317
169
|
|
318
|
-
|
319
|
-
# :method: coupon
|
170
|
+
# @!method coupon(id, options = {})
|
320
171
|
# gets the coupon with the given id
|
321
|
-
#
|
322
|
-
# :call-seq:
|
323
|
-
# coupon(id, options = {})
|
324
172
|
|
325
|
-
|
326
|
-
# :method: create_coupon
|
173
|
+
# @!method create_coupon(options = {})
|
327
174
|
# creates a coupon with the given attributes
|
328
|
-
#
|
329
|
-
# :call-seq:
|
330
|
-
# create_coupon(options = {})
|
331
175
|
|
332
|
-
|
333
|
-
# :method: update_coupon
|
176
|
+
# @!method update_coupon(id, options = {})
|
334
177
|
# updates a coupon with the given attributes
|
335
|
-
#
|
336
|
-
# :call-seq:
|
337
|
-
# update_coupon(id, options = {})
|
338
178
|
|
339
|
-
|
340
|
-
# :method: delete_coupon
|
179
|
+
# @!method delete_coupon(id)
|
341
180
|
# deletes the coupon with the given id
|
342
|
-
#
|
343
|
-
# :call-seq:
|
344
|
-
# delete_coupon(id)
|
345
181
|
|
346
|
-
|
347
|
-
# :method: options
|
182
|
+
# @!method options(options = {})
|
348
183
|
# gets a list of options
|
349
|
-
#
|
350
|
-
# :call-seq:
|
351
|
-
# options(options = {})
|
352
184
|
|
353
|
-
|
354
|
-
# :method: option
|
185
|
+
# @!method option(id, options = {})
|
355
186
|
# gets the option with the given id
|
356
|
-
#
|
357
|
-
# :call-seq:
|
358
|
-
# option(id, options = {})
|
359
187
|
|
360
|
-
|
361
|
-
# :method: create_option
|
188
|
+
# @!method create_option(options = {})
|
362
189
|
# creates a option with the given attributes
|
363
|
-
#
|
364
|
-
# :call-seq:
|
365
|
-
# create_option(options = {})
|
366
190
|
|
367
|
-
|
368
|
-
# :method: update_option
|
191
|
+
# @!method update_option(id, options = {})
|
369
192
|
# updates a option with the given attributes
|
370
|
-
#
|
371
|
-
# :call-seq:
|
372
|
-
# update_option(id, options = {})
|
373
193
|
|
374
|
-
|
375
|
-
# :method: delete_option
|
194
|
+
# @!method delete_option(id)
|
376
195
|
# deletes the option with the given id
|
377
|
-
#
|
378
|
-
# :call-seq:
|
379
|
-
# delete_option(id)
|
380
196
|
|
381
|
-
|
382
|
-
# :method: option_sets
|
197
|
+
# @!method option_sets(options = {})
|
383
198
|
# gets a list of option_sets
|
384
|
-
#
|
385
|
-
# :call-seq:
|
386
|
-
# option_sets(options = {})
|
387
199
|
|
388
|
-
|
389
|
-
# :method: option_set
|
200
|
+
# @!method option_set(id, options = {})
|
390
201
|
# gets the option_set with the given id
|
391
|
-
#
|
392
|
-
# :call-seq:
|
393
|
-
# option_set(id, options = {})
|
394
202
|
|
395
|
-
|
396
|
-
# :method: create_option_set
|
203
|
+
# @!method create_option_set(options = {})
|
397
204
|
# creates a option_set with the given attributes
|
398
|
-
#
|
399
|
-
# :call-seq:
|
400
|
-
# create_option_set(options = {})
|
401
205
|
|
402
|
-
|
403
|
-
# :method: update_option_set
|
206
|
+
# @!method update_option_set(id, options = {})
|
404
207
|
# updates a option_set with the given attributes
|
405
|
-
#
|
406
|
-
# :call-seq:
|
407
|
-
# update_option_set(id, options = {})
|
408
208
|
|
409
|
-
|
410
|
-
# :method: delete_option_set
|
209
|
+
# @!method delete_option_set(id)
|
411
210
|
# deletes the option_set with the given id
|
412
|
-
#
|
413
|
-
# :call-seq:
|
414
|
-
# delete_option_set(id)
|
415
211
|
|
416
|
-
|
417
|
-
# :method: option_set_options
|
212
|
+
# @!method option_set_options(option_set_id, options = {})
|
418
213
|
# gets a list of options for the given option_set
|
419
|
-
#
|
420
|
-
# :call-seq:
|
421
|
-
# option_set_options(option_set_id, options = {})
|
422
214
|
|
423
|
-
|
424
|
-
# :method: option_set_option
|
215
|
+
# @!method option_set_option(option_set_id, id, options = {})
|
425
216
|
# gets the option with the given id for the given option_set
|
426
|
-
#
|
427
|
-
# :call-seq:
|
428
|
-
# option_set_option(option_set_id, id, options = {})
|
429
217
|
|
430
|
-
|
431
|
-
# :method: create_option_set_option
|
218
|
+
# @!method create_option_set_option(option_set_id, options = {})
|
432
219
|
# creates a option with the given attributes for the given option_set
|
433
|
-
#
|
434
|
-
# :call-seq:
|
435
|
-
# create_option_set_option(option_set_id, options = {})
|
436
220
|
|
437
|
-
|
438
|
-
# :method: update_option_set_option
|
221
|
+
# @!method update_option_set_option(option_set_id, id, options = {})
|
439
222
|
# updates a option with the given attributes for the given option_set
|
440
|
-
#
|
441
|
-
# :call-seq:
|
442
|
-
# update_option_set_option(option_set_id, id, options = {})
|
443
223
|
|
444
|
-
|
445
|
-
# :method: delete_option_set_option
|
224
|
+
# @!method delete_option_set_option(option_set_id, id)
|
446
225
|
# deletes the option with the given id for the given option_set
|
447
|
-
#
|
448
|
-
# :call-seq:
|
449
|
-
# delete_option_set_option(option_set_id, id)
|
450
226
|
|
451
|
-
|
452
|
-
# :method: option_set_values
|
227
|
+
# @!method option_set_values(option_set_id, options = {})
|
453
228
|
# gets a list of values for the given option_set
|
454
|
-
#
|
455
|
-
# :call-seq:
|
456
|
-
# option_set_values(option_set_id, options = {})
|
457
229
|
|
458
|
-
|
459
|
-
# :method: option_set_value
|
230
|
+
# @!method option_set_value(option_set_id, id, options = {})
|
460
231
|
# gets the value with the given id for the given option_set
|
461
|
-
#
|
462
|
-
# :call-seq:
|
463
|
-
# option_set_value(option_set_id, id, options = {})
|
464
232
|
|
465
|
-
|
466
|
-
# :method: create_option_set_value
|
233
|
+
# @!method create_option_set_value(option_set_id, options = {})
|
467
234
|
# creates a value with the given attributes for the given option_set
|
468
|
-
#
|
469
|
-
# :call-seq:
|
470
|
-
# create_option_set_value(option_set_id, options = {})
|
471
235
|
|
472
|
-
|
473
|
-
# :method: update_option_set_value
|
236
|
+
# @!method update_option_set_value(option_set_id, id, options = {})
|
474
237
|
# updates a value with the given attributes for the given option_set
|
475
|
-
#
|
476
|
-
# :call-seq:
|
477
|
-
# update_option_set_value(option_set_id, id, options = {})
|
478
238
|
|
479
|
-
|
480
|
-
# :method: delete_option_set_value
|
239
|
+
# @!method delete_option_set_value(option_set_id, id)
|
481
240
|
# deletes the value with the given id for the given option_set
|
482
|
-
#
|
483
|
-
# :call-seq:
|
484
|
-
# delete_option_set_value(option_set_id, id)
|
485
241
|
|
486
|
-
|
487
|
-
# :method: orders
|
242
|
+
# @!method orders(options = {})
|
488
243
|
# gets a list of orders
|
489
|
-
#
|
490
|
-
# :call-seq:
|
491
|
-
# orders(options = {})
|
492
244
|
|
493
|
-
|
494
|
-
# :method: order
|
245
|
+
# @!method order(id, options = {})
|
495
246
|
# gets the order with the given id
|
496
|
-
#
|
497
|
-
# :call-seq:
|
498
|
-
# order(id, options = {})
|
499
247
|
|
500
|
-
|
501
|
-
# :method: create_order
|
248
|
+
# @!method create_order(options = {})
|
502
249
|
# creates a order with the given attributes
|
503
|
-
#
|
504
|
-
# :call-seq:
|
505
|
-
# create_order(options = {})
|
506
250
|
|
507
|
-
|
508
|
-
# :method: update_order
|
251
|
+
# @!method update_order(id, options = {})
|
509
252
|
# updates a order with the given attributes
|
510
|
-
#
|
511
|
-
# :call-seq:
|
512
|
-
# update_order(id, options = {})
|
513
253
|
|
514
|
-
|
515
|
-
# :method: delete_order
|
254
|
+
# @!method delete_order(id)
|
516
255
|
# deletes the order with the given id
|
517
|
-
#
|
518
|
-
# :call-seq:
|
519
|
-
# delete_order(id)
|
520
256
|
|
521
|
-
|
522
|
-
# :method: orders_count
|
257
|
+
# @!method orders_count(options = {})
|
523
258
|
# counts the number of orders
|
524
|
-
#
|
525
|
-
# :call-seq:
|
526
|
-
# orders_count(options = {})
|
527
259
|
|
528
|
-
|
529
|
-
# :method: order_messages
|
260
|
+
# @!method order_messages(order_id, options = {})
|
530
261
|
# gets a list of messages for the given order
|
531
|
-
#
|
532
|
-
# :call-seq:
|
533
|
-
# order_messages(order_id, options = {})
|
534
262
|
|
535
|
-
|
536
|
-
# :method: order_message
|
263
|
+
# @!method order_message(order_id, id, options = {})
|
537
264
|
# gets the message with the given id for the given order
|
538
|
-
#
|
539
|
-
# :call-seq:
|
540
|
-
# order_message(order_id, id, options = {})
|
541
265
|
|
542
|
-
|
543
|
-
# :method: order_products
|
266
|
+
# @!method order_products(order_id, options = {})
|
544
267
|
# gets a list of products for the given order
|
545
|
-
#
|
546
|
-
# :call-seq:
|
547
|
-
# order_products(order_id, options = {})
|
548
268
|
|
549
|
-
|
550
|
-
# :method: order_product
|
269
|
+
# @!method order_product(order_id, id, options = {})
|
551
270
|
# gets the product with the given id for the given order
|
552
|
-
#
|
553
|
-
# :call-seq:
|
554
|
-
# order_product(order_id, id, options = {})
|
555
271
|
|
556
|
-
|
557
|
-
# :method: order_shipments
|
272
|
+
# @!method order_shipments(order_id, options = {})
|
558
273
|
# gets a list of shipments for the given order
|
559
|
-
#
|
560
|
-
# :call-seq:
|
561
|
-
# order_shipments(order_id, options = {})
|
562
274
|
|
563
|
-
|
564
|
-
# :method: order_shipment
|
275
|
+
# @!method order_shipment(order_id, id, options = {})
|
565
276
|
# gets the shipment with the given id for the given order
|
566
|
-
#
|
567
|
-
# :call-seq:
|
568
|
-
# order_shipment(order_id, id, options = {})
|
569
277
|
|
570
|
-
|
571
|
-
# :method: create_order_shipment
|
278
|
+
# @!method create_order_shipment(order_id, options = {})
|
572
279
|
# creates a shipment with the given attributes for the given order
|
573
|
-
#
|
574
|
-
# :call-seq:
|
575
|
-
# create_order_shipment(order_id, options = {})
|
576
280
|
|
577
|
-
|
578
|
-
# :method: update_order_shipment
|
281
|
+
# @!method update_order_shipment(order_id, id, options = {})
|
579
282
|
# updates a shipment with the given attributes for the given order
|
580
|
-
#
|
581
|
-
# :call-seq:
|
582
|
-
# update_order_shipment(order_id, id, options = {})
|
583
283
|
|
584
|
-
|
585
|
-
# :method: delete_order_shipment
|
284
|
+
# @!method delete_order_shipment(order_id, id)
|
586
285
|
# deletes the shipment with the given id for the given order
|
587
|
-
#
|
588
|
-
# :call-seq:
|
589
|
-
# delete_order_shipment(order_id, id)
|
590
286
|
|
591
|
-
|
592
|
-
# :method: order_shipping_addresses
|
287
|
+
# @!method order_shipping_addresses(order_id, options = {})
|
593
288
|
# gets a list of shipping_addresses for the given order
|
594
|
-
#
|
595
|
-
# :call-seq:
|
596
|
-
# order_shipping_addresses(order_id, options = {})
|
597
289
|
|
598
|
-
|
599
|
-
# :method: order_shipping_address
|
290
|
+
# @!method order_shipping_address(order_id, id, options = {})
|
600
291
|
# gets the shipping_address with the given id for the given order
|
601
|
-
#
|
602
|
-
# :call-seq:
|
603
|
-
# order_shipping_address(order_id, id, options = {})
|
604
292
|
|
605
|
-
|
606
|
-
# :method: payment_methods
|
293
|
+
# @!method payment_methods(options = {})
|
607
294
|
# gets a list of methods
|
608
|
-
#
|
609
|
-
# :call-seq:
|
610
|
-
# payment_methods(options = {})
|
611
295
|
|
612
|
-
|
613
|
-
# :method: products
|
296
|
+
# @!method products(options = {})
|
614
297
|
# gets a list of products
|
615
|
-
#
|
616
|
-
# :call-seq:
|
617
|
-
# products(options = {})
|
618
298
|
|
619
|
-
|
620
|
-
# :method: product
|
299
|
+
# @!method product(id, options = {})
|
621
300
|
# gets the product with the given id
|
622
|
-
#
|
623
|
-
# :call-seq:
|
624
|
-
# product(id, options = {})
|
625
301
|
|
626
|
-
|
627
|
-
# :method: create_product
|
302
|
+
# @!method create_product(options = {})
|
628
303
|
# creates a product with the given attributes
|
629
|
-
#
|
630
|
-
# :call-seq:
|
631
|
-
# create_product(options = {})
|
632
304
|
|
633
|
-
|
634
|
-
# :method: update_product
|
305
|
+
# @!method update_product(id, options = {})
|
635
306
|
# updates a product with the given attributes
|
636
|
-
#
|
637
|
-
# :call-seq:
|
638
|
-
# update_product(id, options = {})
|
639
307
|
|
640
|
-
|
641
|
-
# :method: delete_product
|
308
|
+
# @!method delete_product(id)
|
642
309
|
# deletes the product with the given id
|
643
|
-
#
|
644
|
-
# :call-seq:
|
645
|
-
# delete_product(id)
|
646
310
|
|
647
|
-
|
648
|
-
# :method: products_count
|
311
|
+
# @!method products_count(options = {})
|
649
312
|
# counts the number of products
|
650
|
-
#
|
651
|
-
# :call-seq:
|
652
|
-
# products_count(options = {})
|
653
313
|
|
654
|
-
|
655
|
-
# :method: product_custom_fields
|
314
|
+
# @!method product_custom_fields(product_id, options = {})
|
656
315
|
# gets a list of custom_fields for the given product
|
657
|
-
#
|
658
|
-
# :call-seq:
|
659
|
-
# product_custom_fields(product_id, options = {})
|
660
316
|
|
661
|
-
|
662
|
-
# :method: product_custom_field
|
317
|
+
# @!method product_custom_field(product_id, id, options = {})
|
663
318
|
# gets the custom_field with the given id for the given product
|
664
|
-
#
|
665
|
-
# :call-seq:
|
666
|
-
# product_custom_field(product_id, id, options = {})
|
667
319
|
|
668
|
-
|
669
|
-
# :method: create_product_custom_field
|
320
|
+
# @!method create_product_custom_field(product_id, options = {})
|
670
321
|
# creates a custom_field with the given attributes for the given product
|
671
|
-
#
|
672
|
-
# :call-seq:
|
673
|
-
# create_product_custom_field(product_id, options = {})
|
674
322
|
|
675
|
-
|
676
|
-
# :method: update_product_custom_field
|
323
|
+
# @!method update_product_custom_field(product_id, id, options = {})
|
677
324
|
# updates a custom_field with the given attributes for the given product
|
678
|
-
#
|
679
|
-
# :call-seq:
|
680
|
-
# update_product_custom_field(product_id, id, options = {})
|
681
325
|
|
682
|
-
|
683
|
-
# :method: delete_product_custom_field
|
326
|
+
# @!method delete_product_custom_field(product_id, id)
|
684
327
|
# deletes the custom_field with the given id for the given product
|
685
|
-
#
|
686
|
-
# :call-seq:
|
687
|
-
# delete_product_custom_field(product_id, id)
|
688
328
|
|
689
|
-
|
690
|
-
# :method: product_discount_rules
|
329
|
+
# @!method product_discount_rules(product_id, options = {})
|
691
330
|
# gets a list of discount_rules for the given product
|
692
|
-
#
|
693
|
-
# :call-seq:
|
694
|
-
# product_discount_rules(product_id, options = {})
|
695
331
|
|
696
|
-
|
697
|
-
# :method: product_discount_rule
|
332
|
+
# @!method product_discount_rule(product_id, id, options = {})
|
698
333
|
# gets the discount_rule with the given id for the given product
|
699
|
-
#
|
700
|
-
# :call-seq:
|
701
|
-
# product_discount_rule(product_id, id, options = {})
|
702
334
|
|
703
|
-
|
704
|
-
# :method: create_product_discount_rule
|
335
|
+
# @!method create_product_discount_rule(product_id, options = {})
|
705
336
|
# creates a discount_rule with the given attributes for the given product
|
706
|
-
#
|
707
|
-
# :call-seq:
|
708
|
-
# create_product_discount_rule(product_id, options = {})
|
709
337
|
|
710
|
-
|
711
|
-
# :method: update_product_discount_rule
|
338
|
+
# @!method update_product_discount_rule(product_id, id, options = {})
|
712
339
|
# updates a discount_rule with the given attributes for the given product
|
713
|
-
#
|
714
|
-
# :call-seq:
|
715
|
-
# update_product_discount_rule(product_id, id, options = {})
|
716
340
|
|
717
|
-
|
718
|
-
# :method: delete_product_discount_rule
|
341
|
+
# @!method delete_product_discount_rule(product_id, id)
|
719
342
|
# deletes the discount_rule with the given id for the given product
|
720
|
-
#
|
721
|
-
# :call-seq:
|
722
|
-
# delete_product_discount_rule(product_id, id)
|
723
343
|
|
724
|
-
|
725
|
-
# :method: product_configurable_fields
|
344
|
+
# @!method product_configurable_fields(product_id, options = {})
|
726
345
|
# gets a list of configurable_fields for the given product
|
727
|
-
#
|
728
|
-
# :call-seq:
|
729
|
-
# product_configurable_fields(product_id, options = {})
|
730
346
|
|
731
|
-
|
732
|
-
# :method: product_configurable_field
|
347
|
+
# @!method product_configurable_field(product_id, id, options = {})
|
733
348
|
# gets the configurable_field with the given id for the given product
|
734
|
-
#
|
735
|
-
# :call-seq:
|
736
|
-
# product_configurable_field(product_id, id, options = {})
|
737
349
|
|
738
|
-
|
739
|
-
# :method: delete_product_configurable_field
|
350
|
+
# @!method delete_product_configurable_field(product_id, id)
|
740
351
|
# deletes the configurable_field with the given id for the given product
|
741
|
-
#
|
742
|
-
# :call-seq:
|
743
|
-
# delete_product_configurable_field(product_id, id)
|
744
352
|
|
745
|
-
|
746
|
-
# :method: product_images
|
353
|
+
# @!method product_images(product_id, options = {})
|
747
354
|
# gets a list of images for the given product
|
748
|
-
#
|
749
|
-
# :call-seq:
|
750
|
-
# product_images(product_id, options = {})
|
751
355
|
|
752
|
-
|
753
|
-
# :method: product_image
|
356
|
+
# @!method product_image(product_id, id, options = {})
|
754
357
|
# gets the image with the given id for the given product
|
755
|
-
#
|
756
|
-
# :call-seq:
|
757
|
-
# product_image(product_id, id, options = {})
|
758
358
|
|
759
|
-
|
760
|
-
# :method: create_product_image
|
359
|
+
# @!method create_product_image(product_id, options = {})
|
761
360
|
# creates a image with the given attributes for the given product
|
762
|
-
#
|
763
|
-
# :call-seq:
|
764
|
-
# create_product_image(product_id, options = {})
|
765
361
|
|
766
|
-
|
767
|
-
# :method: update_product_image
|
362
|
+
# @!method update_product_image(product_id, id, options = {})
|
768
363
|
# updates a image with the given attributes for the given product
|
769
|
-
#
|
770
|
-
# :call-seq:
|
771
|
-
# update_product_image(product_id, id, options = {})
|
772
364
|
|
773
|
-
|
774
|
-
# :method: delete_product_image
|
365
|
+
# @!method delete_product_image(product_id, id)
|
775
366
|
# deletes the image with the given id for the given product
|
776
|
-
#
|
777
|
-
# :call-seq:
|
778
|
-
# delete_product_image(product_id, id)
|
779
367
|
|
780
|
-
|
781
|
-
# :method: product_options
|
368
|
+
# @!method product_options(product_id, options = {})
|
782
369
|
# gets a list of options for the given product
|
783
|
-
#
|
784
|
-
# :call-seq:
|
785
|
-
# product_options(product_id, options = {})
|
786
370
|
|
787
|
-
|
788
|
-
# :method: product_option
|
371
|
+
# @!method product_option(product_id, id, options = {})
|
789
372
|
# gets the option with the given id for the given product
|
790
|
-
#
|
791
|
-
# :call-seq:
|
792
|
-
# product_option(product_id, id, options = {})
|
793
373
|
|
794
|
-
|
795
|
-
# :method: product_reviews
|
374
|
+
# @!method product_reviews(product_id, options = {})
|
796
375
|
# gets a list of reviews for the given product
|
797
|
-
#
|
798
|
-
# :call-seq:
|
799
|
-
# product_reviews(product_id, options = {})
|
800
376
|
|
801
|
-
|
802
|
-
# :method: product_rules
|
377
|
+
# @!method product_rules(product_id, options = {})
|
803
378
|
# gets a list of rules for the given product
|
804
|
-
#
|
805
|
-
# :call-seq:
|
806
|
-
# product_rules(product_id, options = {})
|
807
379
|
|
808
|
-
|
809
|
-
# :method: product_rule
|
380
|
+
# @!method product_rule(product_id, id, options = {})
|
810
381
|
# gets the rule with the given id for the given product
|
811
|
-
#
|
812
|
-
# :call-seq:
|
813
|
-
# product_rule(product_id, id, options = {})
|
814
382
|
|
815
|
-
|
816
|
-
# :method: create_product_rule
|
383
|
+
# @!method create_product_rule(product_id, options = {})
|
817
384
|
# creates a rule with the given attributes for the given product
|
818
|
-
#
|
819
|
-
# :call-seq:
|
820
|
-
# create_product_rule(product_id, options = {})
|
821
385
|
|
822
|
-
|
823
|
-
# :method: update_product_rule
|
386
|
+
# @!method update_product_rule(product_id, id, options = {})
|
824
387
|
# updates a rule with the given attributes for the given product
|
825
|
-
#
|
826
|
-
# :call-seq:
|
827
|
-
# update_product_rule(product_id, id, options = {})
|
828
388
|
|
829
|
-
|
830
|
-
# :method: delete_product_rule
|
389
|
+
# @!method delete_product_rule(product_id, id)
|
831
390
|
# deletes the rule with the given id for the given product
|
832
|
-
#
|
833
|
-
# :call-seq:
|
834
|
-
# delete_product_rule(product_id, id)
|
835
391
|
|
836
|
-
|
837
|
-
# :method: product_videos
|
392
|
+
# @!method product_videos(product_id, options = {})
|
838
393
|
# gets a list of videos for the given product
|
839
|
-
#
|
840
|
-
# :call-seq:
|
841
|
-
# product_videos(product_id, options = {})
|
842
394
|
|
843
|
-
|
844
|
-
# :method: product_video
|
395
|
+
# @!method product_video(product_id, id, options = {})
|
845
396
|
# gets the video with the given id for the given product
|
846
|
-
#
|
847
|
-
# :call-seq:
|
848
|
-
# product_video(product_id, id, options = {})
|
849
397
|
|
850
|
-
|
851
|
-
# :method: create_product_video
|
398
|
+
# @!method create_product_video(product_id, options = {})
|
852
399
|
# creates a video with the given attributes for the given product
|
853
|
-
#
|
854
|
-
# :call-seq:
|
855
|
-
# create_product_video(product_id, options = {})
|
856
400
|
|
857
|
-
|
858
|
-
# :method: update_product_video
|
401
|
+
# @!method update_product_video(product_id, id, options = {})
|
859
402
|
# updates a video with the given attributes for the given product
|
860
|
-
#
|
861
|
-
# :call-seq:
|
862
|
-
# update_product_video(product_id, id, options = {})
|
863
403
|
|
864
|
-
|
865
|
-
# :method: delete_product_video
|
404
|
+
# @!method delete_product_video(product_id, id)
|
866
405
|
# deletes the video with the given id for the given product
|
867
|
-
#
|
868
|
-
# :call-seq:
|
869
|
-
# delete_product_video(product_id, id)
|
870
406
|
|
871
|
-
|
872
|
-
# :method: product_skus
|
407
|
+
# @!method product_skus(product_id, options = {})
|
873
408
|
# gets a list of skus for the given product
|
874
|
-
#
|
875
|
-
# :call-seq:
|
876
|
-
# product_skus(product_id, options = {})
|
877
409
|
|
878
|
-
|
879
|
-
# :method: product_sku
|
410
|
+
# @!method product_sku(product_id, id, options = {})
|
880
411
|
# gets the sku with the given id for the given product
|
881
|
-
#
|
882
|
-
# :call-seq:
|
883
|
-
# product_sku(product_id, id, options = {})
|
884
412
|
|
885
|
-
|
886
|
-
# :method: create_product_sku
|
413
|
+
# @!method create_product_sku(product_id, options = {})
|
887
414
|
# creates a sku with the given attributes for the given product
|
888
|
-
#
|
889
|
-
# :call-seq:
|
890
|
-
# create_product_sku(product_id, options = {})
|
891
415
|
|
892
|
-
|
893
|
-
# :method: update_product_sku
|
416
|
+
# @!method update_product_sku(product_id, id, options = {})
|
894
417
|
# updates a sku with the given attributes for the given product
|
895
|
-
#
|
896
|
-
# :call-seq:
|
897
|
-
# update_product_sku(product_id, id, options = {})
|
898
418
|
|
899
|
-
|
900
|
-
# :method: delete_product_sku
|
419
|
+
# @!method delete_product_sku(product_id, id)
|
901
420
|
# deletes the sku with the given id for the given product
|
902
|
-
#
|
903
|
-
# :call-seq:
|
904
|
-
# delete_product_sku(product_id, id)
|
905
421
|
|
906
|
-
|
907
|
-
# :method: redirects
|
422
|
+
# @!method redirects(options = {})
|
908
423
|
# gets a list of redirects
|
909
|
-
#
|
910
|
-
# :call-seq:
|
911
|
-
# redirects(options = {})
|
912
424
|
|
913
|
-
|
914
|
-
# :method: redirect
|
425
|
+
# @!method redirect(id, options = {})
|
915
426
|
# gets the redirect with the given id
|
916
|
-
#
|
917
|
-
# :call-seq:
|
918
|
-
# redirect(id, options = {})
|
919
427
|
|
920
|
-
|
921
|
-
# :method: create_redirect
|
428
|
+
# @!method create_redirect(options = {})
|
922
429
|
# creates a redirect with the given attributes
|
923
|
-
#
|
924
|
-
# :call-seq:
|
925
|
-
# create_redirect(options = {})
|
926
430
|
|
927
|
-
|
928
|
-
# :method: update_redirect
|
431
|
+
# @!method update_redirect(id, options = {})
|
929
432
|
# updates a redirect with the given attributes
|
930
|
-
#
|
931
|
-
# :call-seq:
|
932
|
-
# update_redirect(id, options = {})
|
933
433
|
|
934
|
-
|
935
|
-
# :method: delete_redirect
|
434
|
+
# @!method delete_redirect(id)
|
936
435
|
# deletes the redirect with the given id
|
937
|
-
#
|
938
|
-
# :call-seq:
|
939
|
-
# delete_redirect(id)
|
940
436
|
|
941
|
-
|
942
|
-
# :method: shipping_methods
|
437
|
+
# @!method shipping_methods(options = {})
|
943
438
|
# gets a list of methods
|
944
|
-
#
|
945
|
-
# :call-seq:
|
946
|
-
# shipping_methods(options = {})
|
947
439
|
|
948
|
-
|
949
|
-
# :method: shipping_method
|
440
|
+
# @!method shipping_method(id, options = {})
|
950
441
|
# gets the method with the given id
|
951
|
-
#
|
952
|
-
# :call-seq:
|
953
|
-
# shipping_method(id, options = {})
|
954
442
|
|
955
|
-
|
956
|
-
# :method: tax_classes
|
443
|
+
# @!method tax_classes(options = {})
|
957
444
|
# gets a list of tax_classes
|
958
|
-
#
|
959
|
-
# :call-seq:
|
960
|
-
# tax_classes(options = {})
|
961
445
|
|
962
|
-
|
963
|
-
# :method: tax_class
|
446
|
+
# @!method tax_class(id, options = {})
|
964
447
|
# gets the tax_class with the given id
|
965
|
-
#
|
966
|
-
# :call-seq:
|
967
|
-
# tax_class(id, options = {})
|
968
448
|
|
969
|
-
|
970
|
-
# :method: hooks
|
449
|
+
# @!method hooks(options = {})
|
971
450
|
# gets a list of hooks
|
972
|
-
#
|
973
|
-
# :call-seq:
|
974
|
-
# hooks(options = {})
|
975
451
|
|
976
|
-
|
977
|
-
# :method: hook
|
452
|
+
# @!method hook(id, options = {})
|
978
453
|
# gets the hook with the given id
|
979
|
-
#
|
980
|
-
# :call-seq:
|
981
|
-
# hook(id, options = {})
|
982
454
|
|
983
|
-
|
984
|
-
# :method: create_hook
|
455
|
+
# @!method create_hook(options = {})
|
985
456
|
# creates a hook with the given attributes
|
986
|
-
#
|
987
|
-
# :call-seq:
|
988
|
-
# create_hook(options = {})
|
989
457
|
|
990
|
-
|
991
|
-
# :method: update_hook
|
458
|
+
# @!method update_hook(id, options = {})
|
992
459
|
# updates a hook with the given attributes
|
993
|
-
#
|
994
|
-
# :call-seq:
|
995
|
-
# update_hook(id, options = {})
|
996
460
|
|
997
|
-
|
998
|
-
# :method: delete_hook
|
461
|
+
# @!method delete_hook(id)
|
999
462
|
# deletes the hook with the given id
|
1000
|
-
#
|
1001
|
-
# :call-seq:
|
1002
|
-
# delete_hook(id)
|
1003
463
|
|
1004
464
|
end
|
1005
465
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bigcommerce-oauth-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Orthmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: yard
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: faraday
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -187,3 +201,4 @@ signing_key:
|
|
187
201
|
specification_version: 4
|
188
202
|
summary: Ruby wrapper for the Bigcommerce REST API using OAuth
|
189
203
|
test_files: []
|
204
|
+
has_rdoc:
|