Sha256: cff74dbba8a7d0506bbd775a3ebddbf9ec289ea449ae55794aebcb729f50a200
Contents?: true
Size: 1.72 KB
Versions: 62
Compression:
Stored size: 1.72 KB
Contents
module ForestAdminDatasourceToolkit module Components module Contracts class CollectionContract def datasource raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def schema raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def name raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def execute(caller, name, data, filter = nil) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def get_form(caller, name, data = nil, filter = nil, metas = {}) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def create(caller, data) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def list(caller, filter, projection) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def update(caller, filter, data) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def delete(caller, filter) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def aggregate(caller, filter, aggregation, limit = nil) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def render_chart raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end end end end end
Version data entries
62 entries across 62 versions & 1 rubygems