Class: Fias::Query::Estimate

Inherits:
Object
  • Object
show all
Defined in:
lib/fias/query/estimate.rb

Instance Method Summary collapse

Constructor Details

#initialize(params, chain) ⇒ Estimate

Returns a new instance of Estimate.



4
5
6
7
# File 'lib/fias/query/estimate.rb', line 4

def initialize(params, chain)
  @params = params
  @chain = chain
end

Instance Method Details

#estimateObject



9
10
11
12
13
14
15
# File 'lib/fias/query/estimate.rb', line 9

def estimate
  for_subject +
    for_found_parts +
    for_type +
    for_deepness +
    for_name_proximity
end