Class: Ucp::Util::AuthRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/ucp/util/auth_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(account, password, source_ip = nil, source_port = nil) ⇒ AuthRequest

Returns a new instance of AuthRequest.



25
26
27
28
29
30
# File 'lib/ucp/util/auth_request.rb', line 25

def initialize(,password,source_ip=nil,source_port=nil)
  @source_ip=source_ip
  @source_port=source_port
  @account=
  @password=password
end

Instance Attribute Details

#accountObject (readonly)

Returns the value of attribute account.



23
24
25
# File 'lib/ucp/util/auth_request.rb', line 23

def 
  @account
end

#passwordObject (readonly)

Returns the value of attribute password.



23
24
25
# File 'lib/ucp/util/auth_request.rb', line 23

def password
  @password
end

#source_ipObject (readonly)

Returns the value of attribute source_ip.



23
24
25
# File 'lib/ucp/util/auth_request.rb', line 23

def source_ip
  @source_ip
end

#source_portObject (readonly)

Returns the value of attribute source_port.



23
24
25
# File 'lib/ucp/util/auth_request.rb', line 23

def source_port
  @source_port
end