Class: Hyrax::Ingest::Fetcher::DateTime

Inherits:
Base
  • Object
show all
Defined in:
lib/hyrax/ingest/fetcher/date_time.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #required?

Methods included from HasLogger

config, #logger, #logger=

Methods included from HasReport

#report, #report=

Constructor Details

This class inherits a constructor from Hyrax::Ingest::Fetcher::Base

Instance Method Details

#fetchObject



9
10
11
# File 'lib/hyrax/ingest/fetcher/date_time.rb', line 9

def fetch
  @fetched_value ||= ::DateTime.now
end