Class: Flipper::Adapters::OperationLogger::Operation
- Inherits:
-
Object
- Object
- Flipper::Adapters::OperationLogger::Operation
- Defined in:
- lib/flipper/adapters/operation_logger.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#kwargs ⇒ Object
readonly
Returns the value of attribute kwargs.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, args, kwargs = {}) ⇒ Operation
constructor
A new instance of Operation.
Constructor Details
#initialize(type, args, kwargs = {}) ⇒ Operation
Returns a new instance of Operation.
13 14 15 16 17 |
# File 'lib/flipper/adapters/operation_logger.rb', line 13 def initialize(type, args, kwargs = {}) @type = type @args = args @kwargs = kwargs end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
11 12 13 |
# File 'lib/flipper/adapters/operation_logger.rb', line 11 def args @args end |
#kwargs ⇒ Object (readonly)
Returns the value of attribute kwargs.
11 12 13 |
# File 'lib/flipper/adapters/operation_logger.rb', line 11 def kwargs @kwargs end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
11 12 13 |
# File 'lib/flipper/adapters/operation_logger.rb', line 11 def type @type end |