Skip to content

Commit

Permalink
SAW: better variable name for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharipov Ruslan committed Sep 13, 2016
1 parent 8e9d96a commit e218f66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/workers/suppliers/saw.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def perform
synchronisation.finish!
end

def fetch_details_and_build_property(property, rates)
def fetch_details_and_build_property(property, unit_rates)
result = importer.fetch_detailed_property(property.internal_id)

if result.success?
Expand All @@ -62,7 +62,7 @@ def fetch_details_and_build_property(property, rates)
roomorama_property = ::SAW::Mappers::RoomoramaProperty.build(
property,
detailed_property,
rates
unit_rates
)

Result.new(roomorama_property)
Expand Down

0 comments on commit e218f66

Please sign in to comment.