Class: DSpaceRest::Repositories::AbstractRepository
- Inherits:
-
Object
- Object
- DSpaceRest::Repositories::AbstractRepository
- Defined in:
- lib/dspacerest/repositories/abstract_repository.rb
Direct Known Subclasses
BitstreamRepository, CollectionRepository, CommunityRepository, DspaceRepository, ItemRepository
Instance Attribute Summary collapse
-
#rest_client ⇒ Object
readonly
Returns the value of attribute rest_client.
Instance Method Summary collapse
-
#initialize(rest_client) ⇒ AbstractRepository
constructor
A new instance of AbstractRepository.
Constructor Details
#initialize(rest_client) ⇒ AbstractRepository
Returns a new instance of AbstractRepository.
6 7 8 |
# File 'lib/dspacerest/repositories/abstract_repository.rb', line 6 def initialize(rest_client) @rest_client = rest_client end |
Instance Attribute Details
#rest_client ⇒ Object (readonly)
Returns the value of attribute rest_client.
4 5 6 |
# File 'lib/dspacerest/repositories/abstract_repository.rb', line 4 def rest_client @rest_client end |