Class: DeleteAlertRequest

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

Overview

DeleteAlert

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alert_id = nil) ⇒ DeleteAlertRequest

Returns a new instance of DeleteAlertRequest.



698
699
700
# File 'lib/FlightXML2REST.rb', line 698

def initialize(alert_id = nil)
  @alert_id = alert_id
end

Instance Attribute Details

#alert_idObject

Returns the value of attribute alert_id.



697
698
699
# File 'lib/FlightXML2REST.rb', line 697

def alert_id
  @alert_id
end

Instance Method Details

#postObject



701
702
703
# File 'lib/FlightXML2REST.rb', line 701

def post
  "alert_id=#@alert_id"
end