Class: Ambling::Stock::Settings::ErrorMessages
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::ErrorMessages
- 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
-
#alpha ⇒ Object
- #FFFFFF
-
(hex color code) #.
-
#color ⇒ Object
- 100
-
(0 - 100) background opacity #.
-
#enabled ⇒ Object
- #B81D1B
-
(hex color code) background color of error message #.
-
#text_color ⇒ Object
- text_size
-
(Number)#.
-
#text_size ⇒ Object
Returns the value of attribute text_size.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- #FFFFFF
-
(hex color code) #
1952 1953 1954 |
# File 'lib/ambling/stock.rb', line 1952 def alpha @alpha end |
#color ⇒ Object
- 100
-
(0 - 100) background opacity #
1948 1949 1950 |
# File 'lib/ambling/stock.rb', line 1948 def color @color end |
#enabled ⇒ Object
- #B81D1B
-
(hex color code) background color of error message #
1944 1945 1946 |
# File 'lib/ambling/stock.rb', line 1944 def enabled @enabled end |
#text_color ⇒ Object
- text_size
-
(Number)#
1956 1957 1958 |
# File 'lib/ambling/stock.rb', line 1956 def text_color @text_color end |
#text_size ⇒ Object
Returns the value of attribute text_size.
1960 1961 1962 |
# File 'lib/ambling/stock.rb', line 1960 def text_size @text_size end |