Class: LaunchDarkly::Migrations::OperationResult

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/ldclient-rb/migrations.rb

Overview

The OperationResult wraps the Result class to tie an operation origin to a result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(origin, result) ⇒ OperationResult

Returns a new instance of OperationResult.

Parameters:



55
56
57
58
# File 'lib/ldclient-rb/migrations.rb', line 55

def initialize(origin, result)
  @origin = origin
  @result = result
end

Instance Attribute Details

#originSymbol (readonly)

Returns The origin this result is associated with.

Returns:

  • (Symbol)

    The origin this result is associated with.



63
64
65
# File 'lib/ldclient-rb/migrations.rb', line 63

def origin
  @origin
end