Exception: Nomade::AllocationFailedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/nomade/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(evaluation_id, allocations) ⇒ AllocationFailedError

Returns a new instance of AllocationFailedError.



8
9
10
11
# File 'lib/nomade/exceptions.rb', line 8

def initialize(evaluation_id, allocations)
  @evaluation_id = evaluation_id
  @allocations = allocations
end

Instance Attribute Details

#allocationsObject (readonly)

Returns the value of attribute allocations.



12
13
14
# File 'lib/nomade/exceptions.rb', line 12

def allocations
  @allocations
end

#evaluation_idObject (readonly)

Returns the value of attribute evaluation_id.



12
13
14
# File 'lib/nomade/exceptions.rb', line 12

def evaluation_id
  @evaluation_id
end