Coder Social home page Coder Social logo

HubTran

Wrapper for the HubTran API.

What is HubTran? HubTran ends back-office frustration for transportation companies. Please email [email protected] if you would like an account to try it out.

Installation

Add this line to your application's Gemfile:

gem 'hubtran'

And then execute:

$ bundle

Or install it yourself as:

$ gem install hubtran

Usage

Configure the gem:

Hubtran.configure do |config|
  config.token = "your-token"
  config.endpoint = "talk-to-randy"
end

Then add some loads with:

load = Hubtran::Load.new({load_id: "load1234", external_id: "externalid1234"})
load.save

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/r38y/hubtran.

License

The gem is available as open source under the terms of the MIT License.

Randy Schmidt's Projects

aasm icon aasm

AASM - State machines for Ruby classes

actionmailer-balancer icon actionmailer-balancer

Allows you to configure multiple smtp accounts to send emails. Comes in handy with GAFYD's limit of 500 recipients.

apache2 icon apache2

Development repository for the apache2 cookbook

attachment_fu icon attachment_fu

Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.

backup icon backup

Backup is a RubyGem, written for UNIX-like operating systems, that allows you to easily perform backup operations on both your remote, as well as your local environment. It provides you with an elegant DSL in Ruby for modeling (configuring) your backups. Backup has built-in support for various databases, storage protocols/services, syncers, compressors, encryptors and notifiers which you can mix and match. It was built with modularity, extensibility and simplicity in mind.

base62 icon base62

Base62 encoder/decoder in pure Elixir

bundle-fu icon bundle-fu

Ruby on Rails plugin - CSS/JS asset bundling in 10 seconds or less!

ck_fu icon ck_fu

Adds a development toolbar to your site that makes it easy to tell the difference between development, staging, and production.

diddleberry icon diddleberry

A prototype authentication system that doesn't use passwords.

eff-pass icon eff-pass

Generate passphrases using EFF's lists of words.

facebox icon facebox

Facebook-style lightbox, built in jQuery

fetcher icon fetcher

Fork of svn://rubyforge.org/var/svn/slantwise/fetcher/trunk

fuck_libyaml icon fuck_libyaml

Get rid of libyaml so you don't get screwed over by Delayed Job and later versions of Rails

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.