class Moblues::DataModel::Entity
Public Class Methods
new(params)
click to toggle source
Calls superclass method
# File lib/moblues/data_model/entity.rb, line 6 def initialize(params) p = params.compact super( p.fetch(:name), p.fetch(:parent_entity, 'NSManagedObject'), p.fetch(:attributes, []), p.fetch(:relationships, []) ) end