class Moblues::DataModel::Relationship

Public Class Methods

new(params) click to toggle source
Calls superclass method
# File lib/moblues/data_model/relationship.rb, line 6
def initialize(params)
  p = params.compact
  super(
    p.fetch(:name),
    p.fetch(:destination_entity),
    p.fetch(:to_many, false),
    p.fetch(:ordered, false)
  )
end