Skip to content

Instantly share code, notes, and snippets.

@iCHAIT
Created June 28, 2016 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iCHAIT/049d843042e1422ad3ad5d0f6e7be3c9 to your computer and use it in GitHub Desktop.
Save iCHAIT/049d843042e1422ad3ad5d0f6e7be3c9 to your computer and use it in GitHub Desktop.
require_relative 'rimesync'
ts = TimeSync.new(baseurl = 'http://localhost:8000/v0')
ts.authenticate(username: '<user>', password: '<password>', auth_type: 'password')
ts.token_expiration_time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment