Project

quickmail

0.0
No release in over 3 years
Low commit activity in last 3 years
A Ruby wrapper for the Quickmail 3PL fulfillment company API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Quickmail

Gem Version

A Ruby wrapper for the Quickmail API.

Installation

Add module to your Gemfile:

gem 'quickmail'

Then run bundle to install the Gem:

bundle install

Set up an initializer file with your Quickmail access token and settings:

Quickmail.access_token  = 'quickmail_access_token'
Quickmail.api_version = 'v1'
Quickmail.test_mode  = "true or false"

e.g. config/initializers/quickmail.rb

You can either set the access token at the project level via an initializer file or at the request level as a parameter.

Usage

This gem provides a collection of operations for use within the Quickmail API.

Generate API access token

Use OAuth to generate new API access for an account

Quickmail::Authentication.oauth(auth_params, access_token)

List Inventory

Create all available SKUs in Inventory

Quickmail::Inventory.list(access_token)

Create Order

Create a single order

Quickmail::Order.create(order_params, access_token)

Tracking

Poll the tracking endpoint to get the latest order delivery updates

Quickmail::Tracking.poll(tracking_params, access_token)

How to contribute

  • Fork the project
  • Create your feature or bug fix
  • Add the required tests for it.
  • Commit (do not change version or history)
  • Send a pull request against the development branch

Copyright

Copyright (c) 2024 Douglas Lim (@hellodouglim)
Licenced under the MIT licence.