Class: Ldbws::ResponseTypes::ServiceItem

Inherits:
Base
  • Object
show all
Defined in:
lib/ldbws/response_types/service_item.rb

Overview

Represents a service item in LDBWS.

Properties

sta

the scheduled arrival time as a Time object

eta

the estimated arrival time as a string

std

the scheduled departure time as a Time object

etd

the estimated departure time as a string

platform
operator
operator_code
circular_route
cancelled
service_type
length
detatch_front
reverse_formation
cancel_reason
delay_reason
service_id
adhoc_alerts
origin
destination
formation

information about the formation of the train

Direct Known Subclasses

ServiceItemWithCallingPoints

Method Summary

Methods inherited from Base

#method_missing, #to_h

Methods included from ParsingFunctions

included

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ldbws::ResponseTypes::Base