| 
                
               | 
              
                
               | 
              
                @@ -14,13 +14,13 @@ module Agents 
               | 
            
            
            
              | 
                14
               | 
              
                14
               | 
              
                  
               | 
            
            
            
              | 
                15
               | 
              
                15
               | 
              
                       The `origin` and `destination` options require an [airport code](http://www.expedia.com/daily/airports/AirportCodes.asp). 
               | 
            
            
            
              | 
                16
               | 
              
                16
               | 
              
                  
               | 
            
            
            
              | 
                17
               | 
              
                
               | 
              
                -      All the default options must exist. For `infantInSeatCount`, `infantInLapCount`, `seniorCount`, and `childCount`, leave them to the default value of `0` if its not necessary. 
               | 
            
            
            
              | 
                
               | 
              
                17
               | 
              
                +      All the default options must exist. For `infantInSeatCount`, `infantInLapCount`, `seniorCount`, and `childCount`, leave them to the default value of `0` if you do not need them. 
               | 
            
            
            
              | 
                18
               | 
              
                18
               | 
              
                  
               | 
            
            
            
              | 
                19
               | 
              
                
               | 
              
                -      Make sure `date` and `return_date` is in this type of date format `YYYY-MM-DAY`. 
               | 
            
            
            
              | 
                
               | 
              
                19
               | 
              
                +      Make sure `date` and `return_date` is in this date format: `YYYY-MM-DAY`. 
               | 
            
            
            
              | 
                20
               | 
              
                20
               | 
              
                  
               | 
            
            
            
              | 
                21
               | 
              
                
               | 
              
                -      You can choose one way ticket only by setting `roundtrip` to `false`. 
               | 
            
            
            
              | 
                
               | 
              
                21
               | 
              
                +      You can choose one way tickets only by setting `roundtrip` to `false`. 
               | 
            
            
            
              | 
                22
               | 
              
                22
               | 
              
                  
               | 
            
            
            
              | 
                23
               | 
              
                
               | 
              
                -      You can limit the number of `solutions` returned back. The first solution is the lowest priced ticket. 
               | 
            
            
            
              | 
                
               | 
              
                23
               | 
              
                +      You can limit the number of `solutions` returned. The first solution will be the lowest priced ticket. 
               | 
            
            
            
              | 
                24
               | 
              
                24
               | 
              
                     MD 
               | 
            
            
            
              | 
                25
               | 
              
                25
               | 
              
                  
               | 
            
            
            
              | 
                26
               | 
              
                26
               | 
              
                     event_description <<-MD 
               | 
            
            
            
            
            
              | 
                
               | 
              
                
               | 
              
                @@ -88,7 +88,7 @@ module Agents 
               | 
            
            
            
              | 
                88
               | 
              
                88
               | 
              
                       errors.add(:base, "Infant In Lap Count") unless options['infantInLapCount'].present? 
               | 
            
            
            
              | 
                89
               | 
              
                89
               | 
              
                       errors.add(:base, "Senior Count must exist") unless options['seniorCount'].present? 
               | 
            
            
            
              | 
                90
               | 
              
                90
               | 
              
                       errors.add(:base, "Solutions must exist") unless options['solutions'].present? 
               | 
            
            
            
              | 
                91
               | 
              
                
               | 
              
                -      errors.add(:base, "Returned Date must exist") if options["return_date"].blank? && boolify(options['roundtrip']) 
               | 
            
            
            
              | 
                
               | 
              
                91
               | 
              
                +      errors.add(:base, "Return Date must exist") if options["return_date"].blank? && boolify(options['roundtrip']) 
               | 
            
            
            
              | 
                92
               | 
              
                92
               | 
              
                     end 
               | 
            
            
            
              | 
                93
               | 
              
                93
               | 
              
                  
               | 
            
            
            
              | 
                94
               | 
              
                94
               | 
              
                     def working? 
               |