Class: FedoraLens::Lens
- Inherits:
-
ActiveSupport::HashWithIndifferentAccess
- Object
- ActiveSupport::HashWithIndifferentAccess
- FedoraLens::Lens
- Defined in:
- lib/fedora_lens/lens.rb
Instance Method Summary collapse
Instance Method Details
#create(value) ⇒ Object
11 12 13 |
# File 'lib/fedora_lens/lens.rb', line 11 def create(value) self[:create].call(value) end |
#get(source) ⇒ Object
5 6 7 |
# File 'lib/fedora_lens/lens.rb', line 5 def get(source) self[:get].call(source) end |
#put(source, value) ⇒ Object
8 9 10 |
# File 'lib/fedora_lens/lens.rb', line 8 def put(source, value) self[:put].call(source, value) end |