Sha256: 6ebb42f6fd9c6c528319d7e0bd73230fb468454b9d19ce56989a9cc2619bd5f1
Contents?: true
Size: 830 Bytes
Versions: 3
Compression:
Stored size: 830 Bytes
Contents
module ForestAdminDatasourceToolkit module Components module Contracts class DatasourceContract def collections raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def charts raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def collection(name) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def add_collection(collection) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end def render_chart(caller, name) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems