如何解决如何从凭证文件插入数据?
我需要从Rails 6凭证文件中获取数据,并将其插入字符串中。类似于site.com&credential = datareadfromcredentialfile。我已经尝试了以下方法,并给出了结果:
https://connect.stripe.com/oauth/authorize?response_type=code&client_id= &scope = read_write 从字面上将Rails.application .....插入URL
https://connect.stripe.com/oauth/authorize?response_type=code&client_id= &scope = read_write也已尝试
https://connect.stripe.com/oauth/authorize?response_type=code&client_id=# {Rails.application.credentials.dig(:stripe,:connect_client_id)}&scope = read_write根本没有返回值。我的信用证明文件
条带 connect_client_id:应插入的数据 publishable_key:私人数据 private_key:私人数据
什么是正确的语法来实现这一目标?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。