Class: Bluepan::SyncCity
- Inherits:
-
Object
- Object
- Bluepan::SyncCity
- Extended by:
- LightService::Organizer
- Defined in:
- app/services/bluepan/sync_city.rb
Class Method Summary collapse
Class Method Details
.call(remote_city) ⇒ Object
6 7 8 9 10 |
# File 'app/services/bluepan/sync_city.rb', line 6 def self.call(remote_city) with(remote_city: remote_city).reduce( CreateOrUpdateCity, ) end |