Class: Flipper::Adapters::OperationLogger::Operation

Inherits:
Object
  • Object
show all
Defined in:
lib/flipper/adapters/operation_logger.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject (readonly)

Returns the value of attribute args.



12
13
14
# File 'lib/flipper/adapters/operation_logger.rb', line 12

def args
  @args
end

#typeObject (readonly)

Returns the value of attribute type.



12
13
14
# File 'lib/flipper/adapters/operation_logger.rb', line 12

def type
  @type
end