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.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, args) ⇒ Operation
constructor
A new instance of Operation.
Constructor Details
#initialize(type, args) ⇒ Operation
Returns a new instance of Operation.
14 15 16 17 |
# File 'lib/flipper/adapters/operation_logger.rb', line 14 def initialize(type, args) @type = type @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
12 13 14 |
# File 'lib/flipper/adapters/operation_logger.rb', line 12 def args @args end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
12 13 14 |
# File 'lib/flipper/adapters/operation_logger.rb', line 12 def type @type end |