Sha256: 85f800acc387b9b84ba34abce6f37bcba21725a5fb1b831e5f71eedf75c5b908
Contents?: true
Size: 378 Bytes
Versions: 21
Compression:
Stored size: 378 Bytes
Contents
module TestingAdapter require 'dotenv' def setup Dotenv.load @client = Gecko::Client.new(ENV["OAUTH_ID"], ENV["OAUTH_SECRET"], { site: 'http://api.lvh.me:3000', authorize_url: 'http://go.lvh.me:3000/oauth/authorize' }) @client.authorize_from_existing(ENV["ACCESS_TOKEN"], ENV["REFRESH_TOKEN"], Time.at(ENV["EXPIRES_AT"].to_i)) end end
Version data entries
21 entries across 21 versions & 1 rubygems