Sha256: 3b3a6287b472fff5733c5702ac363c01bd958d4be1aa9ca8700a2db7e20feb6c

Contents?: true

Size: 593 Bytes

Versions: 3

Compression:

Stored size: 593 Bytes

Contents

require 'dmao_api'
require 'dmao/api/person'
require 'time'
require 'dmao/ingesters/generic/ingester'
require 'dmao/ingesters/errors/generic_ingester'
require 'dmao/ingesters/errors/empty_attributes'
require 'dmao/ingesters/errors/ingest_person_error'

module DMAO
  module Ingesters
    module Generic

      class PeopleIngester < Ingester

        ENTITY = DMAO::API::Person
        ENTITY_ERROR = DMAO::Ingesters::Errors::IngestPersonError
        INVALID_ENTITY_ERROR = DMAO::API::Errors::InvalidPerson
        ENTITY_ERROR_MESSAGE = "Invalid person details"

      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dmao-generic-ingesters-0.7.0 lib/dmao/ingesters/generic/people_ingester.rb
dmao-generic-ingesters-0.6.0 lib/dmao/ingesters/generic/people_ingester.rb
dmao-generic-ingesters-0.5.0 lib/dmao/ingesters/generic/people_ingester.rb