class BlockIdentCheckResults

Attributes

blockIdentCheckResult[RW]

Public Class Methods

new(blockIdentCheckResult = nil) click to toggle source
# File lib/FlightXML2REST.rb, line 561
def initialize(blockIdentCheckResult = nil)
  begin
    rawBlockIdentCheckResult = JSON.parse(blockIdentCheckResult)
    blockIdentCheckResult = rawBlockIdentCheckResult['BlockIdentCheckResult']
    @blockIdentCheckResult = blockIdentCheckResult
  rescue
      raise FlightAwareError.new(rawBlockIdentCheckResult['error']).error
  end
end