Class: FlightAlertEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aircrafttype = nil, alert_changed = nil, alert_created = nil, alert_id = nil, channels = [], date_end = nil, date_start = nil, description = nil, destination = nil, enabled = nil, ident = nil, origin = nil, type = nil, user_ident = nil) ⇒ FlightAlertEntry

Returns a new instance of FlightAlertEntry.



1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
# File 'lib/FlightXML2REST.rb', line 1340

def initialize (aircrafttype = nil,
                alert_changed = nil,
                alert_created = nil,
                alert_id = nil,
                channels = [],
                date_end = nil,
                date_start = nil,
                description = nil,
                destination = nil,
                enabled = nil,
                ident = nil,
                origin = nil,
                type = nil,
                user_ident = nil
               )
  @aircrafttype = aircrafttype
  @alert_changed = alert_changed
  @alert_created = alert_created
  @alert_id = alert_id
  @channels = channels
  @date_end = date_end
  @date_start = date_start
  @description = description
  @destination = destination
  @enabled = enabled
  @ident = ident
  @origin = origin
  @type = type
  @user_ident = user_ident
end

Instance Attribute Details

#aircrafttypeObject

Returns the value of attribute aircrafttype.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def aircrafttype
  @aircrafttype
end

#alert_changedObject

Returns the value of attribute alert_changed.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def alert_changed
  @alert_changed
end

#alert_createdObject

Returns the value of attribute alert_created.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def alert_created
  @alert_created
end

#alert_idObject

Returns the value of attribute alert_id.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def alert_id
  @alert_id
end

#channelsObject

Returns the value of attribute channels.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def channels
  @channels
end

#date_endObject

Returns the value of attribute date_end.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def date_end
  @date_end
end

#date_startObject

Returns the value of attribute date_start.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def date_start
  @date_start
end

#descriptionObject

Returns the value of attribute description.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def description
  @description
end

#destinationObject

Returns the value of attribute destination.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def destination
  @destination
end

#enabledObject

Returns the value of attribute enabled.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def enabled
  @enabled
end

#identObject

Returns the value of attribute ident.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def ident
  @ident
end

#originObject

Returns the value of attribute origin.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def origin
  @origin
end

#typeObject

Returns the value of attribute type.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def type
  @type
end

#user_identObject

Returns the value of attribute user_ident.



1325
1326
1327
# File 'lib/FlightXML2REST.rb', line 1325

def user_ident
  @user_ident
end