Class: Ident::Response::BasicResponse

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

Overview

This is the blankslate response which ensures that both kind of responses respond to all required methods. You should never have to work with this class directly.

Direct Known Subclasses

ERROR, USERID

Instance Method Summary collapse

Instance Method Details

#charsetObject



14
# File 'lib/ident.rb', line 14

def charset; nil;   end

#error?Boolean

Is the response the result of an error?

Returns:

  • (Boolean)


12
# File 'lib/ident.rb', line 12

def error?;  false; end

#osObject



13
# File 'lib/ident.rb', line 13

def os;      nil;   end

#useridObject



15
# File 'lib/ident.rb', line 15

def userid;  nil;   end