Created
June 28, 2016 19:20
-
-
Save iCHAIT/049d843042e1422ad3ad5d0f6e7be3c9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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