Class: AirlineInsightStruct
- Inherits:
-
Object
- Object
- AirlineInsightStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#carrier ⇒ Object
Returns the value of attribute carrier.
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#fare_max ⇒ Object
Returns the value of attribute fare_max.
-
#fare_median ⇒ Object
Returns the value of attribute fare_median.
-
#fare_min ⇒ Object
Returns the value of attribute fare_min.
-
#flights_performed ⇒ Object
Returns the value of attribute flights_performed.
-
#flights_scheduled ⇒ Object
Returns the value of attribute flights_scheduled.
-
#layover ⇒ Object
Returns the value of attribute layover.
-
#opcarrier ⇒ Object
Returns the value of attribute opcarrier.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#percent ⇒ Object
Returns the value of attribute percent.
-
#total_mail ⇒ Object
Returns the value of attribute total_mail.
-
#total_passengers ⇒ Object
Returns the value of attribute total_passengers.
-
#total_payload ⇒ Object
Returns the value of attribute total_payload.
-
#total_seats ⇒ Object
Returns the value of attribute total_seats.
Instance Method Summary collapse
-
#initialize(carrier = nil, destination = nil, fare_max = nil, fare_median = nil, fare_min = nil, flights_performed = nil, flights_scheduled = nil, layover = nil, opcarrier = nil, origin = nil, percent = nil, total_mail = nil, total_passengers = nil, total_payload = nil, total_seats = nil) ⇒ AirlineInsightStruct
constructor
A new instance of AirlineInsightStruct.
Constructor Details
#initialize(carrier = nil, destination = nil, fare_max = nil, fare_median = nil, fare_min = nil, flights_performed = nil, flights_scheduled = nil, layover = nil, opcarrier = nil, origin = nil, percent = nil, total_mail = nil, total_passengers = nil, total_payload = nil, total_seats = nil) ⇒ AirlineInsightStruct
Returns a new instance of AirlineInsightStruct.
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'lib/FlightXML2REST.rb', line 290 def initialize (carrier = nil, destination = nil, fare_max = nil, fare_median = nil, fare_min = nil, flights_performed = nil, flights_scheduled = nil, layover = nil, opcarrier = nil, origin = nil, percent = nil, total_mail = nil, total_passengers = nil, total_payload = nil, total_seats = nil) @carrier = carrier @destination = destination @fare_max = fare_max @fare_median = fare_median @fare_min = fare_min @flights_performed = flights_performed @flights_scheduled = flights_scheduled @layover = layover @opcarrier = opcarrier @origin = origin @percent = percent @total_mail = total_mail @total_passengers = total_passengers @total_payload = total_payload @total_seats = total_seats end |
Instance Attribute Details
#carrier ⇒ Object
Returns the value of attribute carrier.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def carrier @carrier end |
#destination ⇒ Object
Returns the value of attribute destination.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def destination @destination end |
#fare_max ⇒ Object
Returns the value of attribute fare_max.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def fare_max @fare_max end |
#fare_median ⇒ Object
Returns the value of attribute fare_median.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def fare_median @fare_median end |
#fare_min ⇒ Object
Returns the value of attribute fare_min.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def fare_min @fare_min end |
#flights_performed ⇒ Object
Returns the value of attribute flights_performed.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def flights_performed @flights_performed end |
#flights_scheduled ⇒ Object
Returns the value of attribute flights_scheduled.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def flights_scheduled @flights_scheduled end |
#layover ⇒ Object
Returns the value of attribute layover.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def layover @layover end |
#opcarrier ⇒ Object
Returns the value of attribute opcarrier.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def opcarrier @opcarrier end |
#origin ⇒ Object
Returns the value of attribute origin.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def origin @origin end |
#percent ⇒ Object
Returns the value of attribute percent.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def percent @percent end |
#total_mail ⇒ Object
Returns the value of attribute total_mail.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def total_mail @total_mail end |
#total_passengers ⇒ Object
Returns the value of attribute total_passengers.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def total_passengers @total_passengers end |
#total_payload ⇒ Object
Returns the value of attribute total_payload.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def total_payload @total_payload end |
#total_seats ⇒ Object
Returns the value of attribute total_seats.
274 275 276 |
# File 'lib/FlightXML2REST.rb', line 274 def total_seats @total_seats end |