Exception: EacRailsRemotes::Errors::TargetAssociationExport

Inherits:
TargetExport
  • Object
show all
Defined in:
lib/eac_rails_remotes/errors/target_association_export.rb

Instance Attribute Summary collapse

Attributes inherited from TargetExport

#record

Instance Method Summary collapse

Constructor Details

#initialize(association_record, association_name, owner_record) ⇒ TargetAssociationExport



8
9
10
11
12
# File 'lib/eac_rails_remotes/errors/target_association_export.rb', line 8

def initialize(association_record, association_name, owner_record)
  super(association_record)
  @association_name = association_name
  @owner_record = owner_record
end

Instance Attribute Details

#association_nameObject (readonly)

Returns the value of attribute association_name.



6
7
8
# File 'lib/eac_rails_remotes/errors/target_association_export.rb', line 6

def association_name
  @association_name
end

#owner_recordObject (readonly)

Returns the value of attribute owner_record.



6
7
8
# File 'lib/eac_rails_remotes/errors/target_association_export.rb', line 6

def owner_record
  @owner_record
end