Class: Hydra::RemoteIdentifier::RemoteService
- Inherits:
-
Object
- Object
- Hydra::RemoteIdentifier::RemoteService
- Defined in:
- lib/hydra/remote_identifier/remote_service.rb
Overview
The RemoteService is responsible for delivering a payload to a remote identification minting service and returning an identifier.
It is responsible for assisting the construction and validation of a remote payload.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#call(payload) ⇒ Object
15 16 17 18 |
# File 'lib/hydra/remote_identifier/remote_service.rb', line 15 def call(payload) raise NotImplementedError, "You must implement #{self.class}#call" end |
#valid_attribute?(attribute_name) ⇒ Boolean
10 11 12 13 |
# File 'lib/hydra/remote_identifier/remote_service.rb', line 10 def valid_attribute?(attribute_name) raise NotImplementedError, "You must implement #{self.class}#valid_attribute?" end |