Class: NationalRailWrapper::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/national_rail_wrapper/client.rb

Instance Method Summary collapse

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