module DataWorks
This class wraps DataWorks::Works
and only exposes methods that are meant to be public. The sole purpose of this class is information hiding.
The purpose of this class is to encapsulate the idea that when configuring DataWorks
, necessary_parents can include symbols or hashes, like so:
config.necessary_parents = { district: [ ], event: [:schedule, :school], scheduled_service: [{:schedulable => :event}, :student], school: [:district] student: [:school] }
Constants
- VERSION
Public Class Methods
configure() { |Config| ... }
click to toggle source
# File lib/data_works/config.rb, line 3 def self.configure yield(Config) end