ShipEngine / shipengine-ruby

The official Ruby SDK for ShipEngine API - source code for the shipengine_sdk Gem
https://rubygems.org/gems/shipengine_sdk
Apache License 2.0
2 stars 4 forks source link
address-normalization address-validation fedex-api rest-api ruby ruby-gem sdk shipengine shipment-tracking shipping-api shipping-cost shipping-label shipping-rates tracking-number ups-api usps-api

ShipEngine

ShipEngine Ruby SDK

GitHub Workflow Status GitHub

The Official Ruby SDK for ShipEngine API offering low-level access as well as convenience methods.

Quick Start

Install the ShipEngine SDK Gem via RubyGems

gem install shipengine_sdk

Methods

Class Objects

Instantiate ShipEngine Class

require "shipengine"

api_key = ENV["SHIPENGINE_API_KEY"]

shipengine = ShipEngine.new(api_key)

Contributing

Install dependencies

Committing

This project adheres to the Conventional Commits specification.

Pre-Commit/Pre-Push Hooks

This project makes use of Overcommit to enforce pre-commit/push hooks. Overcommit will be downloaded and initialized as part of running the ./bin/setup script, as outlined in the previous section.

Testing & Development

Note: guard also provides a repl after tests run for quick repl development.

Repl Development

Publishing

Publishing new versions of the SDK to RubyGems is handled on GitHub via the Release Please GitHub Actions workflow. Learn more about about Release PRs, updating the changelog, and commit messages here.