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
-
#initialize(owner) ⇒ UpdateHandler
constructor
A new instance of UpdateHandler.
- #success(json) ⇒ Object
Methods included from BasicErrorHandling
#missing, #redirection, #unauthenticated
Constructor Details
#initialize(owner) ⇒ UpdateHandler
Returns a new instance of UpdateHandler.
141 142 143 |
# File 'lib/sequencescape-api/finder_methods.rb', line 141 def initialize(owner) @owner = owner end |
Instance Method Details
#success(json) ⇒ Object
151 152 153 |
# File 'lib/sequencescape-api/finder_methods.rb', line 151 def success(json) update_from_json(json) end |