Class: QuickTravel::Search

Inherits:
Object
  • Object
show all
Includes:
InitFromHash
Defined in:
lib/quick_travel/search.rb

Instance Attribute Summary collapse

Method Summary

Methods included from InitFromHash

#define_readers, #initialize, #to_hash

Instance Attribute Details

#backward_connection_dateObject

Returns the value of attribute backward_connection_date.



10
11
12
# File 'lib/quick_travel/search.rb', line 10

def backward_connection_date
  @backward_connection_date
end

#categoryObject

type of search



6
7
8
# File 'lib/quick_travel/search.rb', line 6

def category
  @category
end

#forward_connection_dateObject

Returns the value of attribute forward_connection_date.



10
11
12
# File 'lib/quick_travel/search.rb', line 10

def forward_connection_date
  @forward_connection_date
end

#last_travel_dateObject

Returns the value of attribute last_travel_date.



5
6
7
# File 'lib/quick_travel/search.rb', line 5

def last_travel_date
  @last_travel_date
end

#location_idObject

Returns the value of attribute location_id.



5
6
7
# File 'lib/quick_travel/search.rb', line 5

def location_id
  @location_id
end

#number_of_roomsObject

required for accommodation search



9
10
11
# File 'lib/quick_travel/search.rb', line 9

def number_of_rooms
  @number_of_rooms
end

#productObject

Returns the value of attribute product.



5
6
7
# File 'lib/quick_travel/search.rb', line 5

def product
  @product
end

#property_nameObject

Returns the value of attribute property_name.



5
6
7
# File 'lib/quick_travel/search.rb', line 5

def property_name
  @property_name
end

#property_type_idObject

Returns the value of attribute property_type_id.



5
6
7
# File 'lib/quick_travel/search.rb', line 5

def property_type_id
  @property_type_id
end

#route_idObject

for getting there search



8
9
10
# File 'lib/quick_travel/search.rb', line 8

def route_id
  @route_id
end

#wayObject

used for one_way or two_way in “getting there search”



7
8
9
# File 'lib/quick_travel/search.rb', line 7

def way
  @way
end