Exception: OData::AbstractQuery::Errors::AbstractQuerySegmentException

Inherits:
AbstractQueryException show all
Defined in:
lib/o_data/abstract_query/errors.rb

Instance Attribute Summary collapse

Attributes inherited from AbstractQueryException

#query

Instance Method Summary collapse

Methods inherited from AbstractQueryException

#to_s

Methods inherited from ODataException

#to_s

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

#segmentObject (readonly)

Returns the value of attribute segment.



48
49
50
# File 'lib/o_data/abstract_query/errors.rb', line 48

def segment
  @segment
end