class Kiba::Uncommon::Destinations::ZuoraUpdater
Attributes
type[R]
zuora_client[R]
Public Class Methods
new(zuora_client, type)
click to toggle source
# File lib/kiba/uncommon/destinations/zuora_updater.rb, line 13 def initialize(zuora_client, type) @zuora_client = zuora_client @type = type end
Public Instance Methods
close()
click to toggle source
# File lib/kiba/uncommon/destinations/zuora_updater.rb, line 22 def close end
write(row)
click to toggle source
# File lib/kiba/uncommon/destinations/zuora_updater.rb, line 18 def write(row) zuora_client.call! :update, :type => type, :objects => [row] end