Class: Phronomy::Agent::ContextImporter::ImportedContext

Inherits:
Data
  • Object
show all
Defined in:
lib/phronomy/agent/context_importer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(records:) ⇒ ImportedContext

Returns a new instance of ImportedContext.



19
20
21
22
# File 'lib/phronomy/agent/context_importer.rb', line 19

def initialize(records:)
  super(records: records.freeze)
  freeze
end

Instance Attribute Details

#recordsObject (readonly)

Returns the value of attribute records

Returns:

  • (Object)

    the current value of records



18
19
20
# File 'lib/phronomy/agent/context_importer.rb', line 18

def records
  @records
end