Sha256: 69f1c9f7fc23bd27792843848d418839e3bbab446184953da653c632ab3bd2a5

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

[![Build Status](https://travis-ci.org/magma-labs/solidus_payment_method_by_zone.svg?branch=master)](https://travis-ci.org/magma-labs/solidus_payment_method_by_zone)

# solidus_payment_method_by_zone
Solidus extension to allow payment methods to be restricted by zones.

Installation
------------

Add solidus_payment_method_by_zone to your Gemfile:

```ruby
gem 'solidus_payment_method_by_zone'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g solidus_payment_method_by_zone:install
```

Testing
-------

First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs, and [Rubocop](https://github.com/bbatsov/rubocop) static code analysis. The dummy app can be regenerated by using `rake test_app`.

```shell
bundle
bundle exec rake
```

When testing your applications integration with this extension you may use it's factories.
Simply add this require statement to your spec_helper:

```ruby
require 'solidus_payment_method_by_zone/factories'
```

Copyright (c) 2019 MagmaLabs, released under the New BSD License

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_payment_method_by_zone-1.0.0 README.md