mints 0.0.27 → 0.0.28
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/Gemfile +2 -1
- data/lib/client.rb +4 -4
- data/lib/contact.rb +60 -61
- data/lib/errors.rb +1 -1
- data/lib/generators/mints_config.yml.erb +0 -2
- data/lib/generators/mints_link.rb +3 -3
- data/lib/mints/helpers/mints_helper.rb +2 -2
- data/lib/pub.rb +55 -55
- data/lib/user/config/api_keys.rb +7 -7
- data/lib/user/config/appointments.rb +16 -16
- data/lib/user/config/attribute_groups.rb +10 -10
- data/lib/user/config/attributes.rb +10 -10
- data/lib/user/config/calendars.rb +9 -9
- data/lib/user/config/config.rb +7 -7
- data/lib/user/config/importers.rb +15 -15
- data/lib/user/config/public_folders.rb +11 -11
- data/lib/user/config/relationships.rb +11 -11
- data/lib/user/config/roles.rb +9 -9
- data/lib/user/config/seeds.rb +5 -5
- data/lib/user/config/system_settings.rb +5 -5
- data/lib/user/config/tags.rb +5 -5
- data/lib/user/config/taxonomies.rb +15 -15
- data/lib/user/config/teams.rb +67 -68
- data/lib/user/config/users.rb +70 -71
- data/lib/user/contacts/contacts.rb +19 -20
- data/lib/user/content/assets.rb +273 -278
- data/lib/user/content/content.rb +48 -48
- data/lib/user/content/content_instances.rb +136 -138
- data/lib/user/content/content_templates.rb +103 -103
- data/lib/user/content/conversations.rb +193 -193
- data/lib/user/content/dam.rb +83 -80
- data/lib/user/content/forms.rb +229 -233
- data/lib/user/content/message_templates.rb +152 -151
- data/lib/user/content/messages.rb +87 -87
- data/lib/user/content/pages.rb +82 -82
- data/lib/user/content/stories.rb +101 -101
- data/lib/user/content/story_templates.rb +88 -88
- data/lib/user/content/story_versions.rb +115 -117
- data/lib/user/crm/companies.rb +103 -105
- data/lib/user/crm/contacts.rb +285 -292
- data/lib/user/crm/crm.rb +19 -19
- data/lib/user/crm/deals.rb +103 -103
- data/lib/user/crm/favorites.rb +14 -13
- data/lib/user/crm/segments.rb +121 -123
- data/lib/user/crm/users.rb +20 -20
- data/lib/user/crm/workflow_step_objects.rb +84 -84
- data/lib/user/crm/workflow_steps.rb +45 -45
- data/lib/user/crm/workflows.rb +65 -65
- data/lib/user/ecommerce/ecommerce.rb +27 -27
- data/lib/user/ecommerce/item_prices.rb +82 -81
- data/lib/user/ecommerce/locations.rb +160 -160
- data/lib/user/ecommerce/order_items_groups.rb +107 -106
- data/lib/user/ecommerce/order_statuses.rb +24 -24
- data/lib/user/ecommerce/orders.rb +250 -246
- data/lib/user/ecommerce/price_lists.rb +68 -68
- data/lib/user/ecommerce/product_templates.rb +99 -99
- data/lib/user/ecommerce/product_variations.rb +122 -120
- data/lib/user/ecommerce/products.rb +160 -159
- data/lib/user/ecommerce/skus.rb +85 -85
- data/lib/user/ecommerce/taxes.rb +79 -79
- data/lib/user/ecommerce/variant_options.rb +66 -66
- data/lib/user/ecommerce/variant_values.rb +69 -69
- data/lib/user/helpers/helpers.rb +102 -101
- data/lib/user/helpers/object_activities.rb +78 -78
- data/lib/user/helpers/object_folders.rb +76 -76
- data/lib/user/helpers/user_folders.rb +77 -77
- data/lib/user/marketing/marketing.rb +114 -113
- data/lib/user/profile/profile.rb +94 -103
- data/lib/user.rb +3 -3
- metadata +33 -33
@@ -1,169 +1,169 @@
|
|
1
1
|
module Locations
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
##
|
3
|
+
# == Locations
|
4
|
+
#
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
# === Get location.
|
25
|
-
# Get a location info.
|
26
|
-
#
|
27
|
-
# ==== Parameters
|
28
|
-
# id:: (Integer) -- Location id.
|
29
|
-
#
|
30
|
-
# ==== Example
|
31
|
-
# @data = @mints_user.get_location(2)
|
32
|
-
def get_location(id)
|
33
|
-
@client.raw("get", "/ecommerce/locations/#{id}")
|
34
|
-
end
|
6
|
+
# === Get locations.
|
7
|
+
# Get a collection of locations.
|
8
|
+
#
|
9
|
+
# ==== Parameters
|
10
|
+
# use_post:: (Boolean) -- Variable to determine if the request is by 'post' or 'get' functions.
|
11
|
+
#
|
12
|
+
# ==== First Example
|
13
|
+
# @data = @mints_user.get_locations
|
14
|
+
#
|
15
|
+
# ==== Second Example
|
16
|
+
# options = {
|
17
|
+
# fields: 'id, title'
|
18
|
+
# }
|
19
|
+
# @data = @mints_user.get_locations(options)
|
20
|
+
def get_locations(options = nil, use_post = true)
|
21
|
+
get_query_results('/ecommerce/locations', options, use_post)
|
22
|
+
end
|
35
23
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
# @data = @mints_user.create_location(data)
|
48
|
-
def create_location(data, options = nil)
|
49
|
-
@client.raw("post", "/ecommerce/locations", options, data_transform(data))
|
50
|
-
end
|
24
|
+
# === Get location.
|
25
|
+
# Get a location info.
|
26
|
+
#
|
27
|
+
# ==== Parameters
|
28
|
+
# id:: (Integer) -- Location id.
|
29
|
+
#
|
30
|
+
# ==== Example
|
31
|
+
# @data = @mints_user.get_location(2)
|
32
|
+
def get_location(id)
|
33
|
+
@client.raw('get', "/ecommerce/locations/#{id}")
|
34
|
+
end
|
51
35
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
36
|
+
# === Create location.
|
37
|
+
# Create a location with data.
|
38
|
+
#
|
39
|
+
# ==== Parameters
|
40
|
+
# data:: (Hash) -- Data to be submitted.
|
41
|
+
#
|
42
|
+
# ==== Example
|
43
|
+
# data = {
|
44
|
+
# title: 'New Location',
|
45
|
+
# location_template_id: 1
|
46
|
+
# }
|
47
|
+
# @data = @mints_user.create_location(data)
|
48
|
+
def create_location(data, options = nil)
|
49
|
+
@client.raw('post', '/ecommerce/locations', options, data_transform(data))
|
50
|
+
end
|
67
51
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
52
|
+
# === Update location.
|
53
|
+
# Update a location info.
|
54
|
+
#
|
55
|
+
# ==== Parameters
|
56
|
+
# id:: (Integer) -- Location id.
|
57
|
+
# data:: (Hash) -- Data to be submitted.
|
58
|
+
#
|
59
|
+
# ==== Example
|
60
|
+
# data = {
|
61
|
+
# title: 'New Location Modified'
|
62
|
+
# }
|
63
|
+
# @data = @mints_user.update_location(5, data.to_json)
|
64
|
+
def update_location(id, data, options = nil)
|
65
|
+
@client.raw('put', "/ecommerce/locations/#{id}", options, data)
|
66
|
+
end
|
79
67
|
|
80
|
-
|
81
|
-
|
82
|
-
|
68
|
+
# === Delete location.
|
69
|
+
# Delete a location.
|
70
|
+
#
|
71
|
+
# ==== Parameters
|
72
|
+
# id:: (Integer) -- Location id.
|
73
|
+
#
|
74
|
+
# ==== Example
|
75
|
+
# @data = @mints_user.delete_location(5)
|
76
|
+
def delete_location(id)
|
77
|
+
@client.raw('delete', "/ecommerce/locations/#{id}")
|
78
|
+
end
|
83
79
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
# ==== Parameters
|
88
|
-
# id:: (Integer) -- Location template id.
|
89
|
-
#
|
90
|
-
# ==== Example
|
91
|
-
# @data = @mints_user.get_location_template_support_data(1)
|
92
|
-
def get_location_template_support_data(id)
|
93
|
-
@client.raw("get", "/ecommerce/location-templates/#{id}/support-data")
|
94
|
-
end
|
95
|
-
|
96
|
-
# === Get location templates support data.
|
97
|
-
# Get support data used in location templates.
|
98
|
-
#
|
99
|
-
# ==== Example
|
100
|
-
# @data = @mints_user.get_location_templates_support_data
|
101
|
-
def get_location_templates_support_data
|
102
|
-
@client.raw("get", "/ecommerce/location-templates/support-data")
|
103
|
-
end
|
80
|
+
##
|
81
|
+
# == Locations Templates
|
82
|
+
#
|
104
83
|
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
# @data = @mints_user.get_location_templates(options)
|
117
|
-
def get_location_templates(options = nil)
|
118
|
-
@client.raw("get", "/ecommerce/location-templates", options)
|
119
|
-
end
|
84
|
+
# === Get location template support data.
|
85
|
+
# Get support data used in a location template.
|
86
|
+
#
|
87
|
+
# ==== Parameters
|
88
|
+
# id:: (Integer) -- Location template id.
|
89
|
+
#
|
90
|
+
# ==== Example
|
91
|
+
# @data = @mints_user.get_location_template_support_data(1)
|
92
|
+
def get_location_template_support_data(id)
|
93
|
+
@client.raw('get', "/ecommerce/location-templates/#{id}/support-data")
|
94
|
+
end
|
120
95
|
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
96
|
+
# === Get location templates support data.
|
97
|
+
# Get support data used in location templates.
|
98
|
+
#
|
99
|
+
# ==== Example
|
100
|
+
# @data = @mints_user.get_location_templates_support_data
|
101
|
+
def get_location_templates_support_data
|
102
|
+
@client.raw('get', '/ecommerce/location-templates/support-data')
|
103
|
+
end
|
104
|
+
|
105
|
+
# === Get location templates.
|
106
|
+
# Get a collection of location templates.
|
107
|
+
#
|
108
|
+
# ==== Parameters
|
109
|
+
# options:: (Hash) -- List of Resource Collection Options shown above can be used as parameter.
|
110
|
+
#
|
111
|
+
# ==== First Example
|
112
|
+
# @data = @mints_user.get_location_templates
|
113
|
+
#
|
114
|
+
# ==== Second Example
|
115
|
+
# options = { fields: 'title' }
|
116
|
+
# @data = @mints_user.get_location_templates(options)
|
117
|
+
def get_location_templates(options = nil)
|
118
|
+
@client.raw('get', '/ecommerce/location-templates', options)
|
119
|
+
end
|
120
|
+
|
121
|
+
# === Get location template.
|
122
|
+
# Get a location template info.
|
123
|
+
#
|
124
|
+
# ==== Parameters
|
125
|
+
# id:: (Integer) -- Location template id.
|
126
|
+
# options:: (Hash) -- List of Resource Collection Options shown above can be used as parameter.
|
127
|
+
#
|
128
|
+
# ==== First Example
|
129
|
+
# @data = @mints_user.get_location_template(1)
|
130
|
+
#
|
131
|
+
# ==== Second Example
|
132
|
+
# options = { fields: 'title' }
|
133
|
+
# @data = @mints_user.get_location_template(1, options)
|
134
|
+
def get_location_template(id, options = nil)
|
135
|
+
@client.raw('get', "/ecommerce/location-templates/#{id}", options)
|
136
|
+
end
|
137
|
+
|
138
|
+
# === Create location template.
|
139
|
+
# Create a location template with data.
|
140
|
+
#
|
141
|
+
# ==== Parameters
|
142
|
+
# data:: (Hash) -- Data to be submitted.
|
143
|
+
#
|
144
|
+
# ==== Example
|
145
|
+
# data = {
|
146
|
+
# title: 'New Location Template',
|
147
|
+
# slug: 'new-location-template'
|
148
|
+
# }
|
149
|
+
# @data = @mints_user.create_location_template(data)
|
150
|
+
def create_location_template(data)
|
151
|
+
@client.raw('post', '/ecommerce/location-templates', nil, data_transform(data))
|
152
|
+
end
|
153
|
+
|
154
|
+
# === Update location template.
|
155
|
+
# Update a location template info.
|
156
|
+
#
|
157
|
+
# ==== Parameters
|
158
|
+
# id:: (Integer) -- Location template id.
|
159
|
+
# data:: (Hash) -- Data to be submitted.
|
160
|
+
#
|
161
|
+
# ==== Example
|
162
|
+
# data = {
|
163
|
+
# title: 'New Location Template Modified'
|
164
|
+
# }
|
165
|
+
# @data = @mints_user.update_location_template(3, data)
|
166
|
+
def update_location_template(id, data)
|
167
|
+
@client.raw('put', "/ecommerce/location-templates/#{id}", nil, data_transform(data))
|
168
|
+
end
|
169
|
+
end
|
@@ -1,110 +1,111 @@
|
|
1
1
|
module OrderItemsGroups
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
##
|
3
|
+
# == Order Items Groups
|
4
|
+
#
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
# === Get order item group support data by order id.
|
20
|
-
# Get support data of an order item group by an order id.
|
21
|
-
#
|
22
|
-
# ==== Parameters
|
23
|
-
# order_id:: (Integer) -- Order id.
|
24
|
-
#
|
25
|
-
# ==== Example
|
26
|
-
# @data = @mints_user.get_order_item_group_support_data_by_order_id(1)
|
27
|
-
def get_order_item_group_support_data_by_order_id(order_id) #FIXME: Return in OrderItemsGroupController.getTemplateSupportDataByOrderId method doesnt create data variable.
|
28
|
-
@client.raw("get", "/ecommerce/order-items-groups/support-data/#{order_id}")
|
29
|
-
end
|
6
|
+
# === Get pending order template from order item group.
|
7
|
+
# Get a pending order template from an order item group.
|
8
|
+
#
|
9
|
+
# ==== Parameters
|
10
|
+
# parent_order_id:: (Integer) -- Order items group id.
|
11
|
+
# order_template_id:: (Integer) -- Order template id.
|
12
|
+
#
|
13
|
+
# ==== Example
|
14
|
+
# @data = @mints_user.get_pending_order_template_from_order_item_group(1, 1)
|
15
|
+
def get_pending_order_template_from_order_item_group(parent_order_id, order_template_id)
|
16
|
+
@client.raw('get', "/ecommerce/order-items-groups/#{parent_order_id}/pending-items/order-template/#{order_template_id}")
|
17
|
+
end
|
30
18
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
#
|
41
|
-
|
42
|
-
|
43
|
-
def get_order_item_groups(options = nil)
|
44
|
-
@client.raw("get", "/ecommerce/order-items-groups", options)
|
45
|
-
end
|
19
|
+
# === Get order item group support data by order id.
|
20
|
+
# Get support data of an order item group by an order id.
|
21
|
+
#
|
22
|
+
# ==== Parameters
|
23
|
+
# order_id:: (Integer) -- Order id.
|
24
|
+
#
|
25
|
+
# ==== Example
|
26
|
+
# @data = @mints_user.get_order_item_group_support_data_by_order_id(1)
|
27
|
+
def get_order_item_group_support_data_by_order_id(order_id)
|
28
|
+
# FIXME: Return in OrderItemsGroupController.getTemplateSupportDataByOrderId method doesnt create data variable.
|
29
|
+
@client.raw('get', "/ecommerce/order-items-groups/support-data/#{order_id}")
|
30
|
+
end
|
46
31
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
32
|
+
# === Get order item groups.
|
33
|
+
# Get a collection of order item groups.
|
34
|
+
#
|
35
|
+
# ==== Parameters
|
36
|
+
# options:: (Hash) -- List of Resource Collection Options shown above can be used as parameter.
|
37
|
+
#
|
38
|
+
# ==== First Example
|
39
|
+
# @data = @mints_user.get_order_item_groups
|
40
|
+
#
|
41
|
+
# ==== Second Example
|
42
|
+
# options = { fields: 'name' }
|
43
|
+
# @data = @mints_user.get_order_item_groups(options)
|
44
|
+
def get_order_item_groups(options = nil)
|
45
|
+
@client.raw('get', '/ecommerce/order-items-groups', options)
|
46
|
+
end
|
47
|
+
|
48
|
+
# === Get order item group.
|
49
|
+
# Get a order item group info.
|
50
|
+
#
|
51
|
+
# ==== Parameters
|
52
|
+
# id:: (Integer) -- Order item group id.
|
53
|
+
# options:: (Hash) -- List of Resource Collection Options shown above can be used as parameter.
|
54
|
+
#
|
55
|
+
# ==== First Example
|
56
|
+
# @data = @mints_user.get_order_item_group(1)
|
57
|
+
#
|
58
|
+
# ==== Second Example
|
59
|
+
# options = { fields: 'name' }
|
60
|
+
# @data = @mints_user.get_order_item_group(1, options)
|
61
|
+
def get_order_item_group(id, options = nil)
|
62
|
+
@client.raw('get', "/ecommerce/order-items-groups/#{id}", options)
|
63
|
+
end
|
64
|
+
|
65
|
+
# === Create order item group.
|
66
|
+
# Create a order item group with data.
|
67
|
+
#
|
68
|
+
# ==== Parameters
|
69
|
+
# data:: (Hash) -- Data to be submitted.
|
70
|
+
#
|
71
|
+
# ==== Example
|
72
|
+
# data = {
|
73
|
+
# name: 'New Order Item Group',
|
74
|
+
# order_id: 1,
|
75
|
+
# quantity: 1,
|
76
|
+
# sale_price: 200
|
77
|
+
# }
|
78
|
+
# options = { include: 'orderItems' }
|
79
|
+
# @data = @mints_user.create_order_item_group(data, options)
|
80
|
+
def create_order_item_group(data, options = nil)
|
81
|
+
@client.raw('post', '/ecommerce/order-items-groups', options, data_transform(data))
|
82
|
+
end
|
83
|
+
|
84
|
+
# === Update order item group.
|
85
|
+
# Update a order item group info.
|
86
|
+
#
|
87
|
+
# ==== Parameters
|
88
|
+
# id:: (Integer) -- Order item group id.
|
89
|
+
# data:: (Hash) -- Data to be submitted.
|
90
|
+
#
|
91
|
+
# ==== Example
|
92
|
+
# data = {
|
93
|
+
# name: 'New Order Item Group Modified'
|
94
|
+
# }
|
95
|
+
# @data = @mints_user.update_order_item_group(147, data)
|
96
|
+
def update_order_item_group(id, data)
|
97
|
+
@client.raw('put', "/ecommerce/order-items-groups/#{id}", nil, data_transform(data))
|
98
|
+
end
|
99
|
+
|
100
|
+
# === Delete order item group.
|
101
|
+
# Delete a order item group.
|
102
|
+
#
|
103
|
+
# ==== Parameters
|
104
|
+
# id:: (Integer) -- Order item group id.
|
105
|
+
#
|
106
|
+
# ==== Example
|
107
|
+
# @data = @mints_user.delete_order_item_group(147)
|
108
|
+
def delete_order_item_group(id)
|
109
|
+
@client.raw('delete', "/ecommerce/order-items-groups/#{id}")
|
110
|
+
end
|
111
|
+
end
|
@@ -1,26 +1,26 @@
|
|
1
1
|
module OrderStatuses
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
##
|
3
|
+
# == Order Statuses
|
4
|
+
#
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
end
|
6
|
+
# === Get order statuses.
|
7
|
+
# Get order statuses.
|
8
|
+
#
|
9
|
+
# ==== First Example
|
10
|
+
# @data = @mints_user.get_order_statuses
|
11
|
+
def get_order_statuses
|
12
|
+
@client.raw('get', '/ecommerce/order-statuses')
|
13
|
+
end
|
14
|
+
|
15
|
+
# === Get order status.
|
16
|
+
# Get status of an order.
|
17
|
+
#
|
18
|
+
# ==== Parameters
|
19
|
+
# id:: (Integer) -- Order id.
|
20
|
+
#
|
21
|
+
# ==== First Example
|
22
|
+
# @data = @mints_user.get_order_status(1)
|
23
|
+
def get_order_status(id)
|
24
|
+
@client.raw('get', "/ecommerce/order-statuses/#{id}")
|
25
|
+
end
|
26
|
+
end
|