lib/hello_sign/api/api_app.rb in hellosign-ruby-sdk-3.2.11 vs lib/hello_sign/api/api_app.rb in hellosign-ruby-sdk-3.2.13
- old
+ new
@@ -95,10 +95,10 @@
# @example
# app = @client.update_api_app :name => 'My Newly Renamed App', :domain => 'example2.com', :'oauth[callback_url]' => 'https://example2.com/oauth', 'oauth[scopes]' => 'basic_account_info,request_signature'
def update_api_app(opts)
id = opts.delete(:client_id)
path = '/api_app/' + id
- HelloSign::Resource::ApiApp.new put(path, :body => opts)
+ HelloSign::Resource::ApiApp.new post(path, :body => opts)
end
#
# Deletes an API App. Can only be invoked for apps you own.
#