Sha256: 143c606603faf1dc324a8f535a8479a84a7644189c0c3ff7f4363a3a7cafe496

Contents?: true

Size: 1.59 KB

Versions: 3

Compression:

Stored size: 1.59 KB

Contents

SolidusPagseguroOficial
=====================

Extension that integrates with the pagseguro

[![Build Status](https://travis-ci.org/ddomingues/solidus_pagseguro_oficial.svg?branch=master)](https://travis-ci.org/ddomingues/solidus_pagseguro_oficial)
[![Code Climate](https://codeclimate.com/github/ddomingues/solidus_pagseguro_oficial/badges/gpa.svg)](https://codeclimate.com/github/ddomingues/solidus_pagseguro_oficial)
[![Test Coverage](https://codeclimate.com/github/ddomingues/solidus_pagseguro_oficial/badges/coverage.svg)](https://codeclimate.com/github/ddomingues/solidus_pagseguro_oficial/coverage)

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

Add solidus_pagseguro_oficial to your Gemfile:

```ruby
gem 'solidus_pagseguro_oficial'
```

Bundle your dependencies and run the installation generator:

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

You must set 2 environment variables using your PagSeguro account as the following example:

```shell
export PAGSEGURO_EMAIL=xxx@xxx.com
export PAGSEGURO_TOKEN=1232328947843794
```

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. 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_pagseguro_oficial/factories'
```

Copyright (c) 2016 Diego Domingues, released under the New BSD License

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_pagseguro_oficial-1.1.2 README.md
solidus_pagseguro_oficial-1.1.1 README.md
solidus_pagseguro_oficial-1.1.0 README.md