
Product
Introducing Module Reachability: Focus on the Vulnerabilities That Matter
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
This is the base ruby gem for interacting with the Razorpay API. This is primarily meant for users who wish to perform interactions with the Razorpay API programatically.
Add this line to your application's Gemfile:
gem 'razorpay'
And then execute:
$ bundle
Or install it yourself as:
$ gem install razorpay
Ruby 2.6.8 or later
Remember to require 'razorpay'
before anything else.
Next, you need to setup your key and secret using the following:
Razorpay.setup('key_id', 'key_secret')
You can set customer headers for your requests using the following:
Razorpay.headers = {"CUSTOM_APP_HEADER" => "CUSTOM_VALUE"}
You can find your API keys at https://dashboard.razorpay.com/#/app/keys.
If you are using rails, the right place to do this might be config/initializers/razorpay.rb
.
git checkout -b my-new-feature
)rake
and rubocop
after making your changes to make sure you didn't break anythinggit commit -am 'Add some feature'
)git push origin my-new-feature
)Steps to follow for a release:
lib/razorpay/constants.rb
CHANGELOG
CHANGELOG
gem build razorpay-ruby.gemspec
gem push razorpay-{version}.gem
gem push
will ask you for credentials, if you are not logged in already.
FAQs
Unknown package
We found that razorruby demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
Company News
Socket is bringing best-in-class reachability analysis into the platform — cutting false positives, accelerating triage, and cementing our place as the leader in software supply chain security.
Product
Socket is introducing a new way to organize repositories and apply repository-specific security policies.