Class: NationalRailWrapper::Client
- Inherits:
-
Object
- Object
- NationalRailWrapper::Client
- Defined in:
- lib/national_rail_wrapper/client.rb
Direct Known Subclasses
Feeds::HistoricalServicePerformance::Client, Feeds::KnowledgeBase::Client, Feeds::LiveDepartureBoards::Client
Instance Method Summary collapse
-
#initialize(username:, password:) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(username:, password:) ⇒ Client
Returns a new instance of Client.
4 5 6 |
# File 'lib/national_rail_wrapper/client.rb', line 4 def initialize(username:, password:) @credentials = {username: username, password: password} end |