module NoBrainer::System::Document::ClassMethods

Public Instance Methods

rql_table() click to toggle source
# File lib/no_brainer/system/document.rb, line 20
def rql_table
  RethinkDB::RQL.new.db('rethinkdb').table(table_name)
end
table_name() click to toggle source
# File lib/no_brainer/system/document.rb, line 16
def table_name
  table_config_options[:name] || name.split('::').last.underscore
end