Class: CasClient::CasClass
- Inherits:
-
Object
- Object
- CasClient::CasClass
- Defined in:
- lib/casclient.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#login_url ⇒ Object
Returns the value of attribute login_url.
-
#logout_url ⇒ Object
Returns the value of attribute logout_url.
-
#validate_url ⇒ Object
Returns the value of attribute validate_url.
Instance Method Summary collapse
-
#initialize(conf = nil) ⇒ CasClass
constructor
A new instance of CasClass.
Constructor Details
#initialize(conf = nil) ⇒ CasClass
Returns a new instance of CasClass.
111 112 113 114 115 116 |
# File 'lib/casclient.rb', line 111 def initialize(conf = nil) @address=conf[:address] @login_url= @address + "/login" @validate_url = @address + "/proxyValidate" @logout_url =@address + "/logout" end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
109 110 111 |
# File 'lib/casclient.rb', line 109 def address @address end |
#login_url ⇒ Object
Returns the value of attribute login_url.
109 110 111 |
# File 'lib/casclient.rb', line 109 def login_url @login_url end |
#logout_url ⇒ Object
Returns the value of attribute logout_url.
109 110 111 |
# File 'lib/casclient.rb', line 109 def logout_url @logout_url end |
#validate_url ⇒ Object
Returns the value of attribute validate_url.
109 110 111 |
# File 'lib/casclient.rb', line 109 def validate_url @validate_url end |