lib/vis/api.rb in omniauth-vis-0.1.2 vs lib/vis/api.rb in omniauth-vis-0.1.3
- old
+ new
@@ -1,8 +1,8 @@
# Vipassna Identity Server Service - for server to server Oauth 2 client_credentials grant flow
# gets tokens so we can use the VIS API
module Vis
- class OauthError < StandardError
+ class OauthError < StandardError; end
class Api
def initialize(server_url: "https://identity.dhamma.org", client_id:, client_secret:)
@client_id = client_id
@client_secret = client_secret