Class: FlightAlertListing
- Inherits:
-
Object
- Object
- FlightAlertListing
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#alerts ⇒ Object
Returns the value of attribute alerts.
-
#num_alerts ⇒ Object
Returns the value of attribute num_alerts.
Instance Method Summary collapse
-
#initialize(alerts = [], num_alerts = nil) ⇒ FlightAlertListing
constructor
A new instance of FlightAlertListing.
Constructor Details
#initialize(alerts = [], num_alerts = nil) ⇒ FlightAlertListing
Returns a new instance of FlightAlertListing.
1318 1319 1320 1321 |
# File 'lib/FlightXML2REST.rb', line 1318 def initialize (alerts = [], num_alerts = nil) @alerts = alerts @num_alerts = num_alerts end |
Instance Attribute Details
#alerts ⇒ Object
Returns the value of attribute alerts.
1317 1318 1319 |
# File 'lib/FlightXML2REST.rb', line 1317 def alerts @alerts end |
#num_alerts ⇒ Object
Returns the value of attribute num_alerts.
1317 1318 1319 |
# File 'lib/FlightXML2REST.rb', line 1317 def num_alerts @num_alerts end |