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.
323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 |
# File 'lib/FlightXML2REST.rb', line 323 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.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def carrier @carrier end |
#destination ⇒ Object
Returns the value of attribute destination.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def destination @destination end |
#fare_max ⇒ Object
Returns the value of attribute fare_max.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def fare_max @fare_max end |
#fare_median ⇒ Object
Returns the value of attribute fare_median.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def fare_median @fare_median end |
#fare_min ⇒ Object
Returns the value of attribute fare_min.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def fare_min @fare_min end |
#flights_performed ⇒ Object
Returns the value of attribute flights_performed.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def flights_performed @flights_performed end |
#flights_scheduled ⇒ Object
Returns the value of attribute flights_scheduled.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def flights_scheduled @flights_scheduled end |
#layover ⇒ Object
Returns the value of attribute layover.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def layover @layover end |
#opcarrier ⇒ Object
Returns the value of attribute opcarrier.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def opcarrier @opcarrier end |
#origin ⇒ Object
Returns the value of attribute origin.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def origin @origin end |
#percent ⇒ Object
Returns the value of attribute percent.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def percent @percent end |
#total_mail ⇒ Object
Returns the value of attribute total_mail.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def total_mail @total_mail end |
#total_passengers ⇒ Object
Returns the value of attribute total_passengers.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def total_passengers @total_passengers end |
#total_payload ⇒ Object
Returns the value of attribute total_payload.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def total_payload @total_payload end |
#total_seats ⇒ Object
Returns the value of attribute total_seats.
307 308 309 |
# File 'lib/FlightXML2REST.rb', line 307 def total_seats @total_seats end |