Class: DeleteAlertResults

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deleteAlertResult = nil) ⇒ DeleteAlertResults

Returns a new instance of DeleteAlertResults.



708
709
710
711
712
713
714
715
716
# File 'lib/FlightXML2REST.rb', line 708

def initialize(deleteAlertResult = nil)
  begin
    rawDeleteAlertResult = JSON.parse(deleteAlertResult)
    deleteAlertResult = rawDeleteAlertResult['DeleteAlertResult']
    @deleteAlertResult = deleteAlertResult
  rescue
      raise FlightAwareError.new(rawDeleteAlertResult['error']).error
  end
end

Instance Attribute Details

#deleteAlertResultObject

Returns the value of attribute deleteAlertResult.



707
708
709
# File 'lib/FlightXML2REST.rb', line 707

def deleteAlertResult
  @deleteAlertResult
end