Sha256: feae1aa3c7dfe0409a37c41adf868257ecfd7a887ce5c7abcb74e7baf4d4274f

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

SpreeCorreiosShipping
=====================
[![Code Climate](https://codeclimate.com/github/locomotivapro/spree_correios_shipping/badges/gpa.svg)](https://codeclimate.com/github/locomotivapro/spree_correios_shipping)

This is a gem to allow use Correios service for shipping methods in spree
Currently just tested and working with spree > 3.1

## Installation

1. Add the following to your Gemfile

    gem 'spree_correios_shipping'

2. Run `bundle install`

3. To copy and apply migrations run: `rails g spree_correios_shipping:install`

You will need setup some confs in your app

## Configuring

1. Go to settings and add preferences of settings to Correios.

2. You need to add addresses to every stock location you create/have.

3. Add a shipping method and select the apropriated delivery method.

## To-Do

  - Write tests
  - Write docs
  - Implement package calculation

Testing
-------

Currently there are no tests!!

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

    $ bundle
    $ bundle exec rake test_app
    $ bundle exec rspec spec

Copyright (c) 2012-2015 [Locomotiva.pro](http://locomotiva.pro), released under the New BSD License

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_correios_shipping-1.0.0 README.md