module Ldbws

Provides a Ruby abstraction around the UK’s Network Rail live departure board webservice (LDBWS). See Service for more information.

Utility functions for use within the library.

Constants

VERSION

The current gem version.

Public Class Methods

service(token) click to toggle source

Helper method that returns an instance of [Service].

Parameters

token

the API token used to connect to the service

# File lib/ldbws.rb, line 10
def self.service(token)
  Service.new(token)
end