Class: LaunchDarkly::Migrations::OperationResult
- Inherits:
-
Object
- Object
- LaunchDarkly::Migrations::OperationResult
- 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
-
#origin ⇒ Symbol
readonly
The origin this result is associated with.
Instance Method Summary collapse
-
#initialize(origin, result) ⇒ OperationResult
constructor
A new instance of OperationResult.
Constructor Details
#initialize(origin, result) ⇒ OperationResult
Returns a new instance of OperationResult.
55 56 57 58 |
# File 'lib/ldclient-rb/migrations.rb', line 55 def initialize(origin, result) @origin = origin @result = result end |
Instance Attribute Details
#origin ⇒ Symbol (readonly)
Returns The origin this result is associated with.
63 64 65 |
# File 'lib/ldclient-rb/migrations.rb', line 63 def origin @origin end |