Class: Sequencescape::Api::FinderMethods::FindByUuidHandler

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

- (FindByUuidHandler) initialize(owner)

A new instance of FindByUuidHandler



27
28
29
# File 'lib/sequencescape-api/finder_methods.rb', line 27

def initialize(owner)
  @owner = owner
end

Instance Method Details

- (Object) success(json)



34
35
36
# File 'lib/sequencescape-api/finder_methods.rb', line 34

def success(json)
  new(json, true)
end