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.



625
626
627
# File 'lib/FlightXML2REST.rb', line 625

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

Instance Attribute Details

#alert_idObject

Returns the value of attribute alert_id.



624
625
626
# File 'lib/FlightXML2REST.rb', line 624

def alert_id
  @alert_id
end

Instance Method Details

#postObject



628
629
630
# File 'lib/FlightXML2REST.rb', line 628

def post
  "alert_id=#@alert_id"
end