ROM::Associations::Definitions::Abstract.new

Parsed documentation:
View on GitHub
Instantiate a new association definition

@param [Symbol] source The name of the source dataset
@param [Symbol] target The name of the target dataset
@param [Hash] opts The option hash
@option opts [Symbol] :as The name of the association (defaults to target)
@option opts [Symbol] :relation The name of the target relation (defaults to target)
@option opts [Symbol] :foreign_key The name of a custom foreign key
@option opts [Symbol] :view The name of a custom relation view on the target's relation side
@option opts [TrueClass,FalseClass] :override Whether provided :view should override association's default view

@api public
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.