Sha256: 4cf1bfa2ea7fc3e14b4e76a05ba7b4877dd2bf9fb55786ca6bcb2cceafc4163f
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
require 'broker/session' module Broker class Import < Broker::Session def fire_event(payload) @payload = payload if qb_ready?(@payload.pkg.app_key) && respond_to?(ext) return send(ext) end end def csv @client.importCSVFile(@payload.pkg.file, @payload.pkg.dbid) end def txt @client.importTSVFile(@payload.pkg.file, @payload.pkg.dbid) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
broker-0.1.2 | lib/broker/import.rb |
broker-0.1.1 | lib/broker/import.rb |