Class: Jiralicious::BasicSession
- Defined in:
- lib/jiralicious/basic_session.rb
Overview
The BasicSesion class extends the default Session class by forcing basic_auth to be fired prior to any other action.
Instance Method Summary collapse
-
#before_request ⇒ Object
Fires off the basic_auth with the local username and password.
Methods inherited from Session
Instance Method Details
#before_request ⇒ Object
Fires off the basic_auth with the local username and password.
10 11 12 |
# File 'lib/jiralicious/basic_session.rb', line 10 def before_request self.class.basic_auth(Jiralicious.username, Jiralicious.password) end |