Skip to content

financeit/marqeta

Repository files navigation

Codeship Status for financeit/marqeta

Marqeta

An API client library for the Marqeta API.

Installation

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

Usage

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"

Development

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.

See Also

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/financeit/marqeta.

About Financeit

Financeit is a fintech startup based in Toronto, Canada and we're hiring.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published