Class: RailFeeds::NationalRail::Credentials

Inherits:
Credentials
  • Object
show all
Defined in:
lib/rail_feeds/national_rail/credentials.rb

Overview

A Class to store username & password required to access national rail feeds Can be used to set a global default but create new instances with specific ones for a specific use.

Instance Attribute Summary

Attributes inherited from Credentials

#password, #username

Method Summary

Methods inherited from Credentials

configure, #initialize, password, to_a, #to_a, #to_h, to_h, username

Constructor Details

This class inherits a constructor from RailFeeds::Credentials