/promises

Primary LanguageRubyMIT LicenseMIT

Promise

resolve:

  1. settle or find a solution to (a problem, dispute, or contentious matter).
  2. decide firmly on a course of action.

fulfill:

  1. bring to completion or reality; achieve or realize (something desired, promised, or predicted).

For our context, 'resolve' chooses between 'fulfillment' (success) and 'rejection' (failure)

Installation

Add this line to your application's Gemfile:

gem 'promise'

And then execute:

$ bundle

Or install it yourself as:

$ gem install promise

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it ( https://github.com/[my-github-username]/promise/fork )
  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 a new Pull Request