文件名称:volt-braintree:Volt的非官方Braintree组件,为您提供了一种只需几行代码即可加载Braintree v.zero Drop-in的方法
文件大小:22KB
文件格式:ZIP
更新时间:2024-06-07 03:11:24
Ruby
伏特::脑树 周围的包装器,为您提供了一种使用1行代码加载的方法。 安装 将此行添加到您的应用程序的Gemfile中: gem 'volt-braintree' 然后执行: $ bundle 或将其自己安装为: $ gem install volt-braintree 然后将依赖项添加到您的dependecies.rb $ component 'braintree' 用法 配置 添加以下初始化程序(例如app/main/initializers/server/braintree.rb ): Braintree :: Configuration . environment = :sandbox Braintree :: Configuration . merchant_id = 'your_merchant_id' Braintree :: Configurat
【文件预览】:
volt-braintree-master
----LICENSE.txt(1KB)
----lib()
--------volt()
----Gemfile(99B)
----spec()
--------spec_helper.rb(446B)
--------volt()
--------app()
----Rakefile(28B)
----README.md(3KB)
----.rspec(31B)
----docs()
--------vzero-small.png(11KB)
----CODE_OF_CONDUCT.md(1KB)
----.gitignore(154B)
----app()
--------braintree()
----volt-braintree.gemspec(1KB)