Sha256: b524321d91b3a17789da4b52572ac42cd2555176d508aa78ee682a91b8a72970
Contents?: true
Size: 355 Bytes
Versions: 1
Compression:
Stored size: 355 Bytes
Contents
module BloomRemit module Billers class Sync def self.call client = InitializeClient.execute.client client.billers.billers.each do |remote_biller| biller = Biller.where(slug: remote_biller.slug).first_or_initialize biller.update_attributes(remote_biller.attributes) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bloom_remit-0.0.1 | app/services/bloom_remit/billers/sync.rb |