Class: SigepWeb::Authenticate
- Inherits:
-
Object
- Object
- SigepWeb::Authenticate
- Defined in:
- lib/sigep_web/authenticate.rb
Instance Attribute Summary collapse
-
#administrative_code ⇒ Object
Returns the value of attribute administrative_code.
-
#card ⇒ Object
Returns the value of attribute card.
-
#contract ⇒ Object
Returns the value of attribute contract.
-
#password ⇒ Object
Returns the value of attribute password.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Authenticate
constructor
A new instance of Authenticate.
Constructor Details
#initialize(options = {}) ⇒ Authenticate
Returns a new instance of Authenticate.
6 7 8 9 10 11 12 |
# File 'lib/sigep_web/authenticate.rb', line 6 def initialize( = {}) self.user = [:user] self.password = [:password] self.administrative_code = [:administrative_code] self.contract = [:contract] self.card = [:card] end |
Instance Attribute Details
#administrative_code ⇒ Object
Returns the value of attribute administrative_code.
3 4 5 |
# File 'lib/sigep_web/authenticate.rb', line 3 def administrative_code @administrative_code end |
#card ⇒ Object
Returns the value of attribute card.
3 4 5 |
# File 'lib/sigep_web/authenticate.rb', line 3 def card @card end |
#contract ⇒ Object
Returns the value of attribute contract.
3 4 5 |
# File 'lib/sigep_web/authenticate.rb', line 3 def contract @contract end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/sigep_web/authenticate.rb', line 3 def password @password end |
#user ⇒ Object
Returns the value of attribute user.
3 4 5 |
# File 'lib/sigep_web/authenticate.rb', line 3 def user @user end |