class Hotify::Auth

Public Class Methods

new() click to toggle source
# File lib/hotify/auth.rb, line 3
def initialize
  @client = OneLogin::Api::Client.new(
    client_id: ENV["ONELOGIN_ID"],
    client_secret: ENV["ONELOGIN_SECRET"],
    region: 'us'
  )
end

Public Instance Methods

client() click to toggle source
# File lib/hotify/auth.rb, line 11
def client
  @client
end