Exception: XMigra::NewAccessArtifactAdder::UnsupportedArtifactType
Instance Attribute Summary collapse
-
#artifact_type ⇒ Object
readonly
Returns the value of attribute artifact_type.
-
#system_name ⇒ Object
readonly
Returns the value of attribute system_name.
Instance Method Summary collapse
-
#initialize(artifact_type, system_name) ⇒ UnsupportedArtifactType
constructor
A new instance of UnsupportedArtifactType.
Constructor Details
#initialize(artifact_type, system_name) ⇒ UnsupportedArtifactType
Returns a new instance of UnsupportedArtifactType.
7 8 9 10 11 |
# File 'lib/xmigra/new_access_artifact_adder.rb', line 7 def initialize(artifact_type, system_name) super("#{system_name} does not support #{artifact_type} artifacts") @artifact_type = artifact_type @system_name = system_name end |
Instance Attribute Details
#artifact_type ⇒ Object (readonly)
Returns the value of attribute artifact_type.
13 14 15 |
# File 'lib/xmigra/new_access_artifact_adder.rb', line 13 def artifact_type @artifact_type end |
#system_name ⇒ Object (readonly)
Returns the value of attribute system_name.
13 14 15 |
# File 'lib/xmigra/new_access_artifact_adder.rb', line 13 def system_name @system_name end |