Sha256: 8a0c6c69fe7ceecc6c789aaf1cc769e45541afaadbf6151d7eba830170ba1446
Contents?: true
Size: 1.63 KB
Versions: 9
Compression:
Stored size: 1.63 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 raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def form 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
9 entries across 9 versions & 1 rubygems