lib/seam/clients/connect_webviews.rb in seamapi-1.14.0 vs lib/seam/clients/connect_webviews.rb in seamapi-1.15.0
- old
+ new
@@ -3,24 +3,24 @@
module Seam
module Clients
class ConnectWebviews < BaseClient
def get(connect_webview_id = nil)
request_seam_object(
- :get,
+ :post,
"/connect_webviews/get",
Seam::ConnectWebview,
"connect_webview",
- params: {connect_webview_id: connect_webview_id}
+ body: {connect_webview_id: connect_webview_id}
)
end
def list
request_seam_object(
- :get,
+ :post,
"/connect_webviews/list",
Seam::ConnectWebview,
"connect_webviews",
- params: {}
+ body: {}
)
end
def create(
accepted_providers: nil,