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.



1205
1206
1207
1208
# File 'lib/FlightXML2REST.rb', line 1205

def initialize (alerts = [], num_alerts = nil)
  @alerts = alerts
  @num_alerts = num_alerts
end

Instance Attribute Details

#alertsObject

Returns the value of attribute alerts.



1204
1205
1206
# File 'lib/FlightXML2REST.rb', line 1204

def alerts
  @alerts
end

#num_alertsObject

Returns the value of attribute num_alerts.



1204
1205
1206
# File 'lib/FlightXML2REST.rb', line 1204

def num_alerts
  @num_alerts
end