Class: Kanal::Plugins::BatteriesBridge::Bridges::Bridge::ParamConverter

Inherits:
Struct
  • Object
show all
Defined in:
lib/kanal/plugins/batteries_bridge/bridges/bridge.rb

Overview

Struct for using in param converters

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



20
21
22
# File 'lib/kanal/plugins/batteries_bridge/bridges/bridge.rb', line 20

def block
  @block
end

#from_paramObject

Returns the value of attribute from_param

Returns:

  • (Object)

    the current value of from_param



20
21
22
# File 'lib/kanal/plugins/batteries_bridge/bridges/bridge.rb', line 20

def from_param
  @from_param
end

#to_paramObject

Returns the value of attribute to_param

Returns:

  • (Object)

    the current value of to_param



20
21
22
# File 'lib/kanal/plugins/batteries_bridge/bridges/bridge.rb', line 20

def to_param
  @to_param
end