Class: MalindoAir

Inherits:
Flight show all
Includes:
PageRequester, Selectors::MalindoAir
Defined in:
lib/teecket/malindo_air.rb

Instance Attribute Summary collapse

Attributes inherited from Flight

#date, #fares, #from, #to

Instance Method Summary collapse

Methods included from Selectors::MalindoAir

#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/malindo_air.rb', line 5

def res
  @res
end

Instance Method Details

#searchObject



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

def search
  get
  process
rescue StandardError
end