singpolyma / ripple-rails Goto Github PK
View Code? Open in Web Editor NEWRails integration for Ripple payment notifications.
Home Page: https://rubygems.org/gems/ripple-rails
License: ISC License
Rails integration for Ripple payment notifications.
Home Page: https://rubygems.org/gems/ripple-rails
License: ISC License
This gem provides a simple facility for integrating the Ripple payment system into a Rails project. Create a file in your project at config/ripple.yml with two configuration keys: :action: RippleController#notify :address: ripple_address The action key should specify a particular action on a controller in your app. When transactions are sent to the ripple address(es) specified, a request to that action will be simulated, with params[:transaction] set to an object representing the transaction data. If you do not specify an address, then all transactions on the Ripple network will be reported to your app. You may optionally specify the websocket address of a Ripple server as :websocket, otherwise the default will be the server at ripple.com. Only transactions that have been validated by the server are reported, so if you trust the server than you can trust that the transactions are real. To start monitoring for transactions, simply run ripple-rails from the root of your app.
Hello,
I have a small issue with ripple-rails. It seems to run fines and trigger
Controller#action when there is a transaction.
However, params[:transaction] in Controller#action do not change:
if printed, it will always print the same first value.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.