Class: Apiphobic::Tokens::Null
- Inherits:
-
Object
- Object
- Apiphobic::Tokens::Null
show all
- Includes:
- Singleton
- Defined in:
- lib/apiphobic/tokens/null.rb
Instance Method Summary
collapse
Instance Method Details
#blank? ⇒ Boolean
18
19
20
|
# File 'lib/apiphobic/tokens/null.rb', line 18
def blank?
true
end
|
#to_h ⇒ Object
22
23
24
|
# File 'lib/apiphobic/tokens/null.rb', line 22
def to_h
[{}, {}]
end
|
#to_s ⇒ Object
26
27
28
|
# File 'lib/apiphobic/tokens/null.rb', line 26
def to_s
''
end
|
#valid? ⇒ Boolean
10
11
12
|
# File 'lib/apiphobic/tokens/null.rb', line 10
def valid?
true
end
|
#validate! ⇒ Object
14
15
16
|
# File 'lib/apiphobic/tokens/null.rb', line 14
def validate!
true
end
|