Class: GoTransit::ServiceUpdate::UnionDepartures::Trip::Stop

Inherits:
ApiResource
  • Object
show all
Defined in:
lib/go_transit/resources/service_update/union_departures/trip/stop.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from ApiResource

#initialize

Constructor Details

This class inherits a constructor from GoTransit::ApiResource

Instance Attribute Details

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/go_transit/resources/service_update/union_departures/trip/stop.rb', line 3

def code
  @code
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/go_transit/resources/service_update/union_departures/trip/stop.rb', line 3

def name
  @name
end