Module: Subordinate::Authentication

Included in:
Client
Defined in:
lib/subordinate/authentication.rb

Instance Method Summary collapse

Instance Method Details

#authenticated?Boolean

Returns:

  • (Boolean)

4
5
6
# File 'lib/subordinate/authentication.rb', line 4

def authenticated?
  !!(username && api_token)
end