Class: Grafana::Api::Logout
- Inherits:
-
Object
- Object
- Grafana::Api::Logout
- Defined in:
- lib/grafana-api/api/logout.rb
Instance Method Summary collapse
-
#initialize(connection) ⇒ Logout
constructor
A new instance of Logout.
- #saml ⇒ Object
Constructor Details
#initialize(connection) ⇒ Logout
Returns a new instance of Logout.
5 6 7 |
# File 'lib/grafana-api/api/logout.rb', line 5 def initialize(connection) @connection = connection end |
Instance Method Details
#saml ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/grafana-api/api/logout.rb', line 9 def saml @connection.call( :GET, '/logout/saml', type: nil, auth: ['api_key', 'basic'] ) end |