Class: Sequencescape::Api::ResourceInvalid

Inherits:
Error
  • Object
show all
Defined in:
lib/sequencescape-api/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource) ⇒ ResourceInvalid



16
17
18
19
# File 'lib/sequencescape-api/errors.rb', line 16

def initialize(resource)
  super('Resource is reported as invalid by the server')
  @resource = resource
end

Instance Attribute Details

#resourceObject (readonly)

Returns the value of attribute resource



21
22
23
# File 'lib/sequencescape-api/errors.rb', line 21

def resource
  @resource
end