Class: YubiOATH::Response

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/yubioath/response.rb

Instance Method Summary collapse

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/yubioath/response.rb', line 9

def success?
  status == [0x90, 0x00]
end