0.0
No commit activity in last 3 years
No release in over 3 years
API wrapper library for the postal methods api.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.8.0
>= 1.2.1
 Project Readme

postalmethods¶ ↑

DESCRIPTION:¶ ↑

API wrapper library for the postal methods api.

FEATURES/PROBLEMS:¶ ↑

  • Provides access to all of the API methods with appropriate exceptions as necessary.

SYNOPSIS:¶ ↑

require ‘postalmethods’

@doc = open(File.dirname(__FILE__) + ‘/../spec/doc/sample.pdf’) @client = PostalMethods::Client.new(:api_key=>“your-key-here”) rv = @client.send_letter(@doc, “description of doc”) puts rv

REQUIREMENTS:¶ ↑

  • This gem relies on the soap4r gem.

INSTALL:¶ ↑

  • sudo gem install postalmethods

  • get a developer account at postalmethods.com

  • generate an api key

  • to run the tests, put your key in spec/spec_helper.rb on the line for PM_OPTS

LICENSE:¶ ↑

  • See License.txt