Skip to content

Commit 5b7603d

Browse files
author
unabris
committed
Remove shop open and close methods
1 parent ce3609e commit 5b7603d

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

lib/beyond_api/resources/shop.rb

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -65,26 +65,6 @@ def attributes(params = {})
6565
handle_response(response, status)
6666
end
6767

68-
#
69-
# A +POST+ request is used to close a shop.
70-
#
71-
# $ curl 'https://api-shop.beyondshop.cloud/api/shop/close' -i -X POST \
72-
# -H 'Content-Type: application/json' \
73-
# -H 'Authorization: Bearer <Access token>'
74-
#
75-
# @beyond_api.scopes +shcl:c+
76-
#
77-
# @return true
78-
#
79-
# @example
80-
# session.shop.close
81-
#
82-
def close
83-
response, status = BeyondApi::Request.post(@session, "/shop/close")
84-
85-
handle_response(response, status, respond_with_true: true)
86-
end
87-
8868
#
8969
# A +POST+ request is used to create a shop attribute.
9070
#
@@ -310,26 +290,6 @@ def legal_details
310290
handle_response(response, status)
311291
end
312292

313-
#
314-
# A +POST+ request is used to open a shop.
315-
#
316-
# $ curl 'https://api-shop.beyondshop.cloud/api/shop/open' -i -X POST \
317-
# -H 'Content-Type: application/json' \
318-
# -H 'Authorization: Bearer <Access token>'
319-
#
320-
# @beyond_api.scopes +shcl:c+
321-
#
322-
# @return true
323-
#
324-
# @example
325-
# session.shop.open
326-
#
327-
def open
328-
response, status = BeyondApi::Request.post(@session, "/shop/open")
329-
330-
handle_response(response, status, respond_with_true: true)
331-
end
332-
333293
#
334294
# A +GET+ request is issued to search for shop images by label.
335295
#

0 commit comments

Comments
 (0)