lib/meibo/organization.rb in meibo-0.25.0 vs lib/meibo/organization.rb in meibo-0.25.1
- old
+ new
@@ -28,11 +28,10 @@
required: %i[sourced_id name type],
status: [:status]
}
)
- def initialize(sourced_id:, name:, type:, status: nil, date_last_modified: nil, identifier: nil,
- parent_sourced_id: (type == TYPES[:district] ? "NULL" : nil), **extension_fields)
+ def initialize(sourced_id:, name:, type:, status: nil, date_last_modified: nil, identifier: nil, parent_sourced_id: nil, **extension_fields)
@sourced_id = sourced_id
@status = status
@date_last_modified = date_last_modified
@name = name
@type = type