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, 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

#argsObject (readonly)

Returns the value of attribute args.



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

def args
  @args
end

#kwargsObject (readonly)

Returns the value of attribute kwargs.



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

def kwargs
  @kwargs
end

#typeObject (readonly)

Returns the value of attribute type.



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

def type
  @type
end