Class: Sdkey::ClientAuthResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/sdkey/types.rb

Overview

Result of register / login / upgrade (plaintext client auth).

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



56
57
58
# File 'lib/sdkey/types.rb', line 56

def code
  @code
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



56
57
58
# File 'lib/sdkey/types.rb', line 56

def error
  @error
end

#expires_atObject

Returns the value of attribute expires_at

Returns:

  • (Object)

    the current value of expires_at



56
57
58
# File 'lib/sdkey/types.rb', line 56

def expires_at
  @expires_at
end

#licenseObject

Returns the value of attribute license

Returns:

  • (Object)

    the current value of license



56
57
58
# File 'lib/sdkey/types.rb', line 56

def license
  @license
end

#sessionObject

Returns the value of attribute session

Returns:

  • (Object)

    the current value of session



56
57
58
# File 'lib/sdkey/types.rb', line 56

def session
  @session
end

#session_tokenObject

Returns the value of attribute session_token

Returns:

  • (Object)

    the current value of session_token



56
57
58
# File 'lib/sdkey/types.rb', line 56

def session_token
  @session_token
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



56
57
58
# File 'lib/sdkey/types.rb', line 56

def success
  @success
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



56
57
58
# File 'lib/sdkey/types.rb', line 56

def user
  @user
end