class SeapigWildcardSlaveObject

Public Instance Methods

destroy(id) click to toggle source
# File lib/seapig-client-ruby/client.rb, line 385
def destroy(id)
        return if not destroyed = self.delete(id)
        destroyed.destroy(id)
end
patch(message) click to toggle source
# File lib/seapig-client-ruby/client.rb, line 379
def patch(message)
        self[message['id']] ||= SeapigSlaveObject.new(@client, message['id'],{}).onchange(&@onchange_proc).onstatuschange(&@onstatuschange_proc).ondestroy(&@ondestroy_proc)
        self[message['id']].patch(message)
end