Exception: OData::AbstractQuery::Errors::AbstractQuerySegmentException
- Inherits:
-
AbstractQueryException
- Object
- StandardError
- ODataException
- AbstractQueryException
- OData::AbstractQuery::Errors::AbstractQuerySegmentException
- Defined in:
- lib/o_data/abstract_query/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#segment ⇒ Object
readonly
Returns the value of attribute segment.
Attributes inherited from AbstractQueryException
Instance Method Summary collapse
-
#initialize(query, segment) ⇒ AbstractQuerySegmentException
constructor
A new instance of AbstractQuerySegmentException.
Methods inherited from AbstractQueryException
Methods inherited from ODataException
Constructor Details
#initialize(query, segment) ⇒ AbstractQuerySegmentException
Returns a new instance of AbstractQuerySegmentException.
50 51 52 53 54 |
# File 'lib/o_data/abstract_query/errors.rb', line 50 def initialize(query, segment) super(query) @segment = segment end |
Instance Attribute Details
#segment ⇒ Object (readonly)
Returns the value of attribute segment.
48 49 50 |
# File 'lib/o_data/abstract_query/errors.rb', line 48 def segment @segment end |