Class: ApiQueryLanguage::Filtering::Nodes::Value
- Inherits:
-
Data
- Object
- Data
- ApiQueryLanguage::Filtering::Nodes::Value
- Defined in:
- lib/api_query_language/filtering/nodes/value.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value
6 7 8 |
# File 'lib/api_query_language/filtering/nodes/value.rb', line 6 def value @value end |
Instance Method Details
#decoded_value ⇒ Object
7 8 9 10 |
# File 'lib/api_query_language/filtering/nodes/value.rb', line 7 def decoded_value return if nil? URI.decode_uri_component(value) end |
#nil? ⇒ Boolean
12 13 14 |
# File 'lib/api_query_language/filtering/nodes/value.rb', line 12 def nil? value.nil? end |