Class: Ldbws::ResponseTypes::Coach

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

Overview

Information about an individual coach in the train.

Properties

number

the coach number or identifier

class

the class of the coach—usually ‘standard’ or ‘first’

toilet

information about toilets in the carriage

loading

the loading of the carriage, as a percentage from 0–100.

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