Class: Geonames::SearchCriteria

Inherits:
Object
  • Object
show all
Defined in:
lib/search_criteria.rb

Instance Attribute Summary collapse

Instance Attribute Details

#admin_code_1Object

Returns the value of attribute admin_code_1.



13
14
15
# File 'lib/search_criteria.rb', line 13

def admin_code_1
  @admin_code_1
end

#admin_code_2Object

Returns the value of attribute admin_code_2.



14
15
16
# File 'lib/search_criteria.rb', line 14

def admin_code_2
  @admin_code_2
end

#admin_code_3Object

Returns the value of attribute admin_code_3.



15
16
17
# File 'lib/search_criteria.rb', line 15

def admin_code_3
  @admin_code_3
end

#charsetObject

Returns the value of attribute charset.



24
25
26
# File 'lib/search_criteria.rb', line 24

def charset
  @charset
end

#continent_code=(value) ⇒ Object (writeonly)

Sets the attribute continent_code

Parameters:

  • value

    the value to set the attribute continent_code to.



29
30
31
# File 'lib/search_criteria.rb', line 29

def continent_code=(value)
  @continent_code = value
end

#continent_codesObject (readonly)

Returns the value of attribute continent_codes.



12
13
14
# File 'lib/search_criteria.rb', line 12

def continent_codes
  @continent_codes
end

#countryObject

Returns the value of attribute country.



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

def country
  @country
end

#country_biasObject

Returns the value of attribute country_bias.



11
12
13
# File 'lib/search_criteria.rb', line 11

def country_bias
  @country_bias
end

#feature_classObject

Returns the value of attribute feature_class.



16
17
18
# File 'lib/search_criteria.rb', line 16

def feature_class
  @feature_class
end

#feature_codesObject

Returns the value of attribute feature_codes.



17
18
19
# File 'lib/search_criteria.rb', line 17

def feature_codes
  @feature_codes
end

#is_name_requiredObject

Returns the value of attribute is_name_required.



21
22
23
# File 'lib/search_criteria.rb', line 21

def is_name_required
  @is_name_required
end

#languageObject

Returns the value of attribute language.



18
19
20
# File 'lib/search_criteria.rb', line 18

def language
  @language
end

#max_rowsObject

Returns the value of attribute max_rows.



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

def max_rows
  @max_rows
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#name_equalsObject

Returns the value of attribute name_equals.



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

def name_equals
  @name_equals
end

#name_starts_withObject

Returns the value of attribute name_starts_with.



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

def name_starts_with
  @name_starts_with
end

#operatorObject

Returns the value of attribute operator.



23
24
25
# File 'lib/search_criteria.rb', line 23

def operator
  @operator
end

#qObject

Returns the value of attribute q.



4
5
6
# File 'lib/search_criteria.rb', line 4

def q
  @q
end

#start_rowObject

Returns the value of attribute start_row.



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

def start_row
  @start_row
end

#styleObject

Returns the value of attribute style.



20
21
22
# File 'lib/search_criteria.rb', line 20

def style
  @style
end

#tagObject

Returns the value of attribute tag.



22
23
24
# File 'lib/search_criteria.rb', line 22

def tag
  @tag
end

#typeObject

Returns the value of attribute type.



19
20
21
# File 'lib/search_criteria.rb', line 19

def type
  @type
end