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



118
119
120
# File 'lib/sequencescape-api/finder_methods.rb', line 118

def initialize(owner)
  @owner = owner
end

Instance Method Details

#success(json) ⇒ Object



125
126
127
# File 'lib/sequencescape-api/finder_methods.rb', line 125

def success(json)
  update_from_json(json)
end