Exception: Dor::DuplicateIdError
- Defined in:
- lib/dor/exceptions.rb
Instance Attribute Summary collapse
-
#pid ⇒ Object
readonly
Returns the value of attribute pid.
Instance Method Summary collapse
-
#initialize(pid) ⇒ DuplicateIdError
constructor
A new instance of DuplicateIdError.
Constructor Details
#initialize(pid) ⇒ DuplicateIdError
Returns a new instance of DuplicateIdError.
8 9 10 |
# File 'lib/dor/exceptions.rb', line 8 def initialize(pid) @pid = pid end |
Instance Attribute Details
#pid ⇒ Object (readonly)
Returns the value of attribute pid.
6 7 8 |
# File 'lib/dor/exceptions.rb', line 6 def pid @pid end |