Class: GoTransit::Schedule::Line::Trip

Inherits:
ApiResource show all
Defined in:
lib/go_transit/resources/schedule/line/trip.rb

Defined Under Namespace

Classes: Stop

Instance Attribute Summary collapse

Method Summary

Methods inherited from ApiResource

#initialize

Constructor Details

This class inherits a constructor from GoTransit::ApiResource

Instance Attribute Details

#displayObject

Returns the value of attribute display.



3
4
5
# File 'lib/go_transit/resources/schedule/line/trip.rb', line 3

def display
  @display
end

#numberObject

Returns the value of attribute number.



3
4
5
# File 'lib/go_transit/resources/schedule/line/trip.rb', line 3

def number
  @number
end

#stopsObject

Returns the value of attribute stops.



3
4
5
# File 'lib/go_transit/resources/schedule/line/trip.rb', line 3

def stops
  @stops
end