Class: RailFeeds::NationalRail::KnowledgeBase::NationalServiceIndicator::Status
- Inherits:
-
Struct
- Object
- Struct
- RailFeeds::NationalRail::KnowledgeBase::NationalServiceIndicator::Status
- Defined in:
- lib/rail_feeds/national_rail/knowledge_base/national_service_indicator.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#image ⇒ Object
Returns the value of attribute image.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
19 20 21 |
# File 'lib/rail_feeds/national_rail/knowledge_base/national_service_indicator.rb', line 19 def description @description end |
#image ⇒ Object
Returns the value of attribute image
19 20 21 |
# File 'lib/rail_feeds/national_rail/knowledge_base/national_service_indicator.rb', line 19 def image @image end |
#title ⇒ Object
Returns the value of attribute title
19 20 21 |
# File 'lib/rail_feeds/national_rail/knowledge_base/national_service_indicator.rb', line 19 def title @title end |
Instance Method Details
#to_s ⇒ Object
20 21 22 |
# File 'lib/rail_feeds/national_rail/knowledge_base/national_service_indicator.rb', line 20 def to_s "#{title} - #{description} - #{image}" end |