Skip to content

som-timer ruby gem #50

@sienna-kopf

Description

@sienna-kopf

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>)

Helpful Documentation

Additional context
Add any other context or screenshots about the feature.

  • This is SO cool.

Metadata

Metadata

Assignees

Labels

BEBE related tasksPhase 4due 11-02-2020enhancementNew feature or requestresearchGoogle away

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions