Class: Sequencescape::Api::PageOfResults::UpdateHandler
- Inherits:
-
Object
- Object
- Sequencescape::Api::PageOfResults::UpdateHandler
- Includes:
- BasicErrorHandling
- Defined in:
- lib/sequencescape-api/finder_methods.rb
Instance Method Summary (collapse)
-
- (UpdateHandler) initialize(owner)
constructor
A new instance of UpdateHandler.
- - (Object) success(json)
Methods included from BasicErrorHandling
#missing, #redirection, #unauthenticated
Constructor Details
- (UpdateHandler) initialize(owner)
A new instance of UpdateHandler
118 119 120 |
# File 'lib/sequencescape-api/finder_methods.rb', line 118 def initialize(owner) @owner = owner end |
Instance Method Details
- (Object) success(json)
125 126 127 |
# File 'lib/sequencescape-api/finder_methods.rb', line 125 def success(json) update_from_json(json) end |