Class: Ambling::Stock::Settings::ErrorMessages

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/stock.rb

Overview

true

(true / false) #

Constant Summary collapse

VALUES =
[:enabled,:color,:alpha,:text_color,:text_size]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

#FFFFFF

(hex color code) #



1952
1953
1954
# File 'lib/ambling/stock.rb', line 1952

def alpha
  @alpha
end

#colorObject

100

(0 - 100) background opacity #



1948
1949
1950
# File 'lib/ambling/stock.rb', line 1948

def color
  @color
end

#enabledObject

#B81D1B

(hex color code) background color of error message #



1944
1945
1946
# File 'lib/ambling/stock.rb', line 1944

def enabled
  @enabled
end

#text_colorObject

text_size

(Number)#



1956
1957
1958
# File 'lib/ambling/stock.rb', line 1956

def text_color
  @text_color
end

#text_sizeObject

Returns the value of attribute text_size.



1960
1961
1962
# File 'lib/ambling/stock.rb', line 1960

def text_size
  @text_size
end