Class: MalaysiaAirlines

Inherits:
Flight
  • Object
show all
Includes:
PageRequester, Selectors::MalaysiaAirlines
Defined in:
lib/teecket/malaysia_airlines.rb

Instance Attribute Summary collapse

Attributes inherited from Flight

#date, #fares, #from, #to

Instance Method Summary collapse

Methods included from Selectors::MalaysiaAirlines

#arrive_at_selector, #depart_arrive_at_formatter, #depart_at_selector, #destination_selector, #fare_formatter, #fare_selector, #flight_number_selector, #origin_selector

Methods included from PageRequester

#request

Methods inherited from Flight

#initialize

Constructor Details

This class inherits a constructor from Flight

Instance Attribute Details

#resObject

Returns the value of attribute res.



5
6
7
# File 'lib/teecket/malaysia_airlines.rb', line 5

def res
  @res
end

Instance Method Details

#searchObject



7
8
9
10
11
# File 'lib/teecket/malaysia_airlines.rb', line 7

def search
  get
  process
rescue StandardError
end