Sha256: 264edf4f5b7471c0f3fa1052ac6c61a85af59e3c97353f91123de83b9c679fba
Contents?: true
Size: 834 Bytes
Versions: 17
Compression:
Stored size: 834 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 get_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
17 entries across 17 versions & 1 rubygems