Class: Atlantis::Portal::Service
- Inherits:
-
Object
- Object
- Atlantis::Portal::Service
- Defined in:
- lib/Atlantis/portal/service.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#host ⇒ Object
Returns the value of attribute host.
Instance Method Summary collapse
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments.
11 12 13 |
# File 'lib/Atlantis/portal/service.rb', line 11 def arguments @arguments end |
#host ⇒ Object
Returns the value of attribute host.
11 12 13 |
# File 'lib/Atlantis/portal/service.rb', line 11 def host @host end |
Instance Method Details
#password ⇒ Object
23 24 25 26 27 28 29 30 31 |
# File 'lib/Atlantis/portal/service.rb', line 23 def password unless (arguments.password.nil?) return arguments.password end account = security_account return account.password if account end |
#security_account ⇒ Object
33 34 35 36 37 |
# File 'lib/Atlantis/portal/service.rb', line 33 def security_account pw = Security::InternetPassword.find(:server => self.host) return pw end |