Class: Drillbit::Tokens::Invalid

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/drillbit/tokens/invalid.rb

Direct Known Subclasses

Base64s::Invalid, JsonWebTokens::Invalid

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/drillbit/tokens/invalid.rb', line 14

def blank?
  false
end

#to_hObject



18
19
20
# File 'lib/drillbit/tokens/invalid.rb', line 18

def to_h
  {}
end

#to_sObject



22
23
24
# File 'lib/drillbit/tokens/invalid.rb', line 22

def to_s
  ''
end

#valid?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/drillbit/tokens/invalid.rb', line 10

def valid?
  false
end