File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ def get(endpoint_path)
376
376
# @param endpoint_path [String]
377
377
#
378
378
# @return [Net::HTTPResponse]
379
- def post ( endpoint_path , payload = nil )
379
+ def post ( endpoint_path , payload = nil )
380
380
raise Line ::Bot ::API ::InvalidCredentialsError , 'Invalidates credentials' unless credentials?
381
381
382
382
request = Request . new do |config |
Original file line number Diff line number Diff line change 107
107
uri_template = Addressable ::Template . new Line ::Bot ::API ::DEFAULT_ENDPOINT + '/bot/user/all/richmenu'
108
108
stub_request ( :delete , uri_template ) . to_return ( body : '{}' , status : 200 )
109
109
110
- client . unset_default_rich_menu ( )
110
+ client . unset_default_rich_menu
111
111
expect ( WebMock ) . to have_requested ( :delete , Line ::Bot ::API ::DEFAULT_ENDPOINT + '/bot/user/all/richmenu' )
112
112
end
113
113
You can’t perform that action at this time.
0 commit comments