Method: Geti::AuthClient#initialize
- Defined in:
- lib/geti/auth_client.rb
#initialize(auth, terminal_opts, env = 'test') ⇒ AuthClient
Returns a new instance of AuthClient.
2 3 4 5 6 7 8 9 |
# File 'lib/geti/auth_client.rb', line 2 def initialize(auth, terminal_opts, env='test') super @sec_code = terminal_opts[:sec_code] @verify_check = terminal_opts[:verify].include? :check @verify_id = terminal_opts[:verify].include? :identity @dl_required = terminal_opts[:verify].include? :dl end |