【发布时间】:2019-03-14 09:48:46
【问题描述】:
我正在使用 savon gem 构建 SOAP 请求,我需要 snake_case_elements,但是当我检查它似乎转换为 CamelCase 时,我在这里遗漏了什么吗?这是结果
我是怎么做到的:
gls_url = 'https://adi-test.gls-poland.pl/adeplus/pm1/ade_webapi2.php?wsdl'
username = '612305291'
password = 'KGpartt2016'
@client = Savon.client(wsdl: gls_url,
log: true,
logger: Rails.logger,
log_level: :debug,
pretty_print_xml: true)
ats = @client.call(:ade_login, message: {
user_name: username,
user_password: password
})
【问题讨论】:
-
我猜你想删除密码。另外,请勿粘贴图片。
-
那些不是真实的,已经改变了:)
标签: ruby-on-rails savon