Class: SigepWeb::Configuration
- Inherits:
-
Object
- Object
- SigepWeb::Configuration
- Defined in:
- lib/sigep_web/configuration.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
Instance Attribute Details
#administrative_code ⇒ Object
Returns the value of attribute administrative_code.
3 4 5 |
# File 'lib/sigep_web/configuration.rb', line 3 def administrative_code @administrative_code end |
#card ⇒ Object
Returns the value of attribute card.
3 4 5 |
# File 'lib/sigep_web/configuration.rb', line 3 def card @card end |
#contract ⇒ Object
Returns the value of attribute contract.
3 4 5 |
# File 'lib/sigep_web/configuration.rb', line 3 def contract @contract end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/sigep_web/configuration.rb', line 3 def password @password end |
#user ⇒ Object
Returns the value of attribute user.
3 4 5 |
# File 'lib/sigep_web/configuration.rb', line 3 def user @user end |
Instance Method Details
#authenticate ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/sigep_web/configuration.rb', line 6 def authenticate @authenticate ||= Authenticate.new( user: user, password: password, administrative_code: administrative_code, contract: contract, card: card ) end |