Class: ActiveFedora::ProfileIndexingService
- Inherits:
-
Object
- Object
- ActiveFedora::ProfileIndexingService
- Defined in:
- lib/active_fedora/profile_indexing_service.rb
Instance Method Summary collapse
- #export ⇒ Object
-
#initialize(object) ⇒ ProfileIndexingService
constructor
A new instance of ProfileIndexingService.
Constructor Details
#initialize(object) ⇒ ProfileIndexingService
Returns a new instance of ProfileIndexingService.
3 4 5 |
# File 'lib/active_fedora/profile_indexing_service.rb', line 3 def initialize(object) @object = object end |
Instance Method Details
#export ⇒ Object
7 8 9 |
# File 'lib/active_fedora/profile_indexing_service.rb', line 7 def export @object.serializable_hash.to_json end |