Class: CasClient::CasClass

Inherits:
Object
  • Object
show all
Defined in:
lib/casclient.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#addressObject

Returns the value of attribute address.



109
110
111
# File 'lib/casclient.rb', line 109

def address
  @address
end

#login_urlObject

Returns the value of attribute login_url.



109
110
111
# File 'lib/casclient.rb', line 109

def 
  @login_url
end

#logout_urlObject

Returns the value of attribute logout_url.



109
110
111
# File 'lib/casclient.rb', line 109

def logout_url
  @logout_url
end

#validate_urlObject

Returns the value of attribute validate_url.



109
110
111
# File 'lib/casclient.rb', line 109

def validate_url
  @validate_url
end