Class: GoTransit::Stop::NextService

Inherits:
ApiResource show all
Includes:
Enumerable
Defined in:
lib/go_transit/resources/stop/next_service.rb

Defined Under Namespace

Classes: Line

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ApiResource

#initialize

Constructor Details

This class inherits a constructor from GoTransit::ApiResource

Instance Attribute Details

#linesObject

Returns the value of attribute lines.



5
6
7
# File 'lib/go_transit/resources/stop/next_service.rb', line 5

def lines
  @lines
end

Instance Method Details

#each(&block) ⇒ Object



7
8
9
# File 'lib/go_transit/resources/stop/next_service.rb', line 7

def each(&block)
  lines.each(&block)
end