Sha256: 57ab6a05e067d126c7d9c79df4089ee1c97ae44855f5ec83ea38e4673224e1ba
Contents?: true
Size: 481 Bytes
Versions: 9
Compression:
Stored size: 481 Bytes
Contents
module NetSuiteRails module ListSync def self.included(klass) klass.send(:extend, ClassMethods) PollTrigger.attach(klass) end module ClassMethods def netsuite_list_id(internal_id = nil) if internal_id.nil? @netsuite_list_id else @netsuite_list_id = internal_id end end def netsuite_poll(opts = {}) NetSuiteRails::ListSync::PollManager.poll(self, opts) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems