Exception: Composable::Core::RecordInvalid::ErrorWithRecord

Inherits:
Exception
  • Object
show all
Defined in:
lib/composable/core/record_invalid.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(record) ⇒ ErrorWithRecord

Returns a new instance of ErrorWithRecord.



12
13
14
# File 'lib/composable/core/record_invalid.rb', line 12

def initialize(record)
  @record = record
end

Instance Attribute Details

#recordObject (readonly)

Returns the value of attribute record.



10
11
12
# File 'lib/composable/core/record_invalid.rb', line 10

def record
  @record
end