lib/ezid/proxy_identifier.rb in ezid-client-1.3.0 vs lib/ezid/proxy_identifier.rb in ezid-client-1.4.0
- old
+ new
@@ -1,7 +1,9 @@
module Ezid
class ProxyIdentifier
+ warn "[DEPRECATION] `Ezid::ProxyIdentifier` is deprecated and will be removed in v2.0. Use `Ezid::Identifier` instead."
+
attr_reader :id
attr_accessor :__real
def initialize(id)
@id = id