Exception: Servactory::Exceptions::Success

Inherits:
Base
  • Object
show all
Defined in:
lib/servactory/exceptions/success.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(context:) ⇒ Success

Returns a new instance of Success.



8
9
10
11
12
# File 'lib/servactory/exceptions/success.rb', line 8

def initialize(context:)
  @context = context

  super
end

Instance Attribute Details

#contextObject (readonly)

Returns the value of attribute context.



6
7
8
# File 'lib/servactory/exceptions/success.rb', line 6

def context
  @context
end