Class: FlightAlertListing

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#alertsObject

Returns the value of attribute alerts.



1317
1318
1319
# File 'lib/FlightXML2REST.rb', line 1317

def alerts
  @alerts
end

#num_alertsObject

Returns the value of attribute num_alerts.



1317
1318
1319
# File 'lib/FlightXML2REST.rb', line 1317

def num_alerts
  @num_alerts
end