An API client library for the Marqeta API.
Add this line to your application's Gemfile:
gem 'marqeta', github: 'financeit/marqeta'
(The gem has not yet been released on rubygems.org)
And then execute:
$ bundle
Or install it yourself as:
$ gem install marqeta
The following config attributes need to be set when using the gem:
Marqeta.configure do |config|
config.logger = <CUSTOM_LOGGER>
config.username = <MARQETA API USERNAME>
config.password = <MARQETA API PASSWORD>
config.base_url = <MARQETA API BASE URL>
end
You can also provide an optional webhook configuration to be used for simulation endpoints:
config.webhook_endpoint = "https://example.com/webhook"
config.webhook_username = "username"
config.webhook_password = "password"
After checking out the repo, run bin/setup
to install dependencies. Then, run rake
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
- https://github.com/marqeta/marqeta-python (official Marqeta client for python)
Bug reports and pull requests are welcome on GitHub at https://github.com/financeit/marqeta.
Financeit is a fintech startup based in Toronto, Canada and we're hiring.