Class: Bluepan::SyncProvince

Inherits:
Object
  • Object
show all
Extended by:
LightService::Organizer
Defined in:
app/services/bluepan/sync_province.rb

Class Method Summary collapse

Class Method Details

.call(remote_province) ⇒ Object



6
7
8
9
10
11
# File 'app/services/bluepan/sync_province.rb', line 6

def self.call(remote_province)
  with(remote_province: remote_province).reduce(
    CreateOrUpdateProvince,
    EnqueueSyncCitiesJob,
  )
end