-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
BEBE related tasksBE related tasksPhase 4due 11-02-2020due 11-02-2020enhancementNew feature or requestNew feature or requestresearchGoogle awayGoogle away
Description
Feature Categories:
- Other: ruby gem
Describe the feature/Bug your gonna work on
- Build a ruby gem that consumes our API and returns output when methods are called
- see the Ruby Gem Repo
Usage
Pull down and run:
bundle install
Remember to update/build gem run:
$ gem build som_timer.gemspec
$ gem install ./som-timer-0.0.0.gem
To jump into interactive ruby session and access endpoints:
$ irb
> require 'som_timer'
# get one timer
> SomTimer.one_timer("timers/1")
# get a random exercise
> SomTimer.rand_exercise(<duration>, <category>)
# get all exercises
> SomTimer.exercises
# update timer
> SomTimer.update_timer(<work_interval>, <rest_interval>, <sound>)
Additional context
Add any other context or screenshots about the feature.
- This is SO cool.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BEBE related tasksBE related tasksPhase 4due 11-02-2020due 11-02-2020enhancementNew feature or requestNew feature or requestresearchGoogle awayGoogle away