Class: Sequencescape::Api::PageOfResults::UpdateHandler

Inherits:
Object
  • Object
show all
Includes:
BasicErrorHandling
Defined in:
lib/sequencescape-api/finder_methods.rb

Instance Method Summary collapse

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