Sha256: c132525f2d389d931599fd6838ae5657282bf3b6c5345c314d7c2a7fac18e04a

Contents?: true

Size: 1.63 KB

Versions: 1

Compression:

Stored size: 1.63 KB

Contents

# Mailroute [![Build Status](https://secure.travis-ci.org/MailRoute/mailroute_ruby.png)](http://travis-ci.org/MailRoute/mailroute_ruby)

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'mailroute'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install mailroute

## Usage

    Mailroute.configure(
      :username => '<username here>',
      :apikey => '0d1a...a33'
    )

    # Make sure that Mailroute configured properly
    Mailroute.check_connection #=> true

    Mailroute::Reseller.all #=> [...]

    Mailroute::Reseller.get(249) #=> Reseller<...>

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request


## TODO

1. clean up vcr cassettes
<del>2. refactor extensions/activeresource.rb - it's a mess</del>
<del>3. implement Reseller.count</del>
<del>4. travisci label</del>
5. check number of API calls in tests
6. better error handling when reseller already exists
<del>7. to_many: ["email_account", "localpart_aliases", {"blank"=>false, "default"=>"No default provided.", "help_text"=>"Many related resources. Can be either a list of URIs or list of individually nested resource data.", "nullable"=>true, "readonly"=>true, "related_type"=>"to_many", "type"=>"related", "unique"=>false}]</del>
8. better validation exceptions
9. refactor base.rb
10. domain.bulk_create_email_accounts 501
<del>11. mailroute.Policy.get_default_policy()</del>
12. domain.get_quarantine()
13. double-check get by name

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mailroute-0.0.1 README.md