Class: SimpleWordingViewModel

Inherits:
Struct
  • Object
show all
Defined in:
lib/ad_localize/view_models/simple_wording_view_model.rb

Instance Attribute Summary collapse

Instance Attribute Details

#commentObject

Returns the value of attribute comment

Returns:

  • (Object)

    the current value of comment



2
3
4
# File 'lib/ad_localize/view_models/simple_wording_view_model.rb', line 2

def comment
  @comment
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



2
3
4
# File 'lib/ad_localize/view_models/simple_wording_view_model.rb', line 2

def label
  @label
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



2
3
4
# File 'lib/ad_localize/view_models/simple_wording_view_model.rb', line 2

def value
  @value
end

#variant_nameObject

Returns the value of attribute variant_name

Returns:

  • (Object)

    the current value of variant_name



2
3
4
# File 'lib/ad_localize/view_models/simple_wording_view_model.rb', line 2

def variant_name
  @variant_name
end