Class: Browserctl::State::Mutator::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/browserctl/state/mutator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#flow_nameObject

Returns the value of attribute flow_name

Returns:

  • (Object)

    the current value of flow_name



19
20
21
# File 'lib/browserctl/state/mutator.rb', line 19

def flow_name
  @flow_name
end

#flow_versionObject

Returns the value of attribute flow_version

Returns:

  • (Object)

    the current value of flow_version



19
20
21
# File 'lib/browserctl/state/mutator.rb', line 19

def flow_version
  @flow_version
end

#save_resultObject

Returns the value of attribute save_result

Returns:

  • (Object)

    the current value of save_result



19
20
21
# File 'lib/browserctl/state/mutator.rb', line 19

def save_result
  @save_result
end

Instance Method Details

#to_hObject



20
21
22
# File 'lib/browserctl/state/mutator.rb', line 20

def to_h
  (save_result || {}).merge(rotated_flow: flow_name)
end