Sha256: b44609556c7f04ccfee0fe1a5009fe744feb4fe547c53e16eda0bccb30c8083f
Contents?: true
Size: 416 Bytes
Versions: 12
Compression:
Stored size: 416 Bytes
Contents
require 'digest' require 'ganymed/websocket' module Ganymed class Websocket module Metadata def self.included(base) base.command :metadata end def metadata(data=nil) metadata = db['metadata'].find() send(:metadata, metadata) rescue Exception => exc log.warn("failed to send metadata to #{peer}") log.exception(exc) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems