Class: Ambling::Stock::Settings::Header
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::Header
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
- true
-
(true / false) #
Constant Summary collapse
- VALUES =
[:enabled,:text,:margins,:text_size,:text_color,:bg_color,:bg_alpha,:border_alpha,:border_color,:border_width,:corner_radius]
Instance Attribute Summary collapse
-
#bg_alpha ⇒ Object
- 0
-
(Number) #.
-
#bg_color ⇒ Object
- 0
-
(Number) #.
-
#border_alpha ⇒ Object
- #ABABAB
-
(hex code) #.
-
#border_color ⇒ Object
- 0
-
(Number) #.
-
#border_width ⇒ Object
- 0
-
(Number) #.
-
#corner_radius ⇒ Object
Returns the value of attribute corner_radius.
-
#enabled ⇒ Object
-
(text) #.
-
#margins ⇒ Object
- text_size
-
(Number) #.
-
#text ⇒ Object
- 0
-
(Number) #.
-
#text_color ⇒ Object
- #FFFFFF
-
(hex code) #.
-
#text_size ⇒ Object
- text_color
-
(hex code) #.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#bg_alpha ⇒ Object
- 0
-
(Number) #
1501 1502 1503 |
# File 'lib/ambling/stock.rb', line 1501 def bg_alpha @bg_alpha end |
#bg_color ⇒ Object
- 0
-
(Number) #
1497 1498 1499 |
# File 'lib/ambling/stock.rb', line 1497 def bg_color @bg_color end |
#border_alpha ⇒ Object
- #ABABAB
-
(hex code) #
1505 1506 1507 |
# File 'lib/ambling/stock.rb', line 1505 def border_alpha @border_alpha end |
#border_color ⇒ Object
- 0
-
(Number) #
1509 1510 1511 |
# File 'lib/ambling/stock.rb', line 1509 def border_color @border_color end |
#border_width ⇒ Object
- 0
-
(Number) #
1513 1514 1515 |
# File 'lib/ambling/stock.rb', line 1513 def border_width @border_width end |
#corner_radius ⇒ Object
Returns the value of attribute corner_radius.
1517 1518 1519 |
# File 'lib/ambling/stock.rb', line 1517 def corner_radius @corner_radius end |
#enabled ⇒ Object
-
(text) #
1477 1478 1479 |
# File 'lib/ambling/stock.rb', line 1477 def enabled @enabled end |
#margins ⇒ Object
- text_size
-
(Number) #
1485 1486 1487 |
# File 'lib/ambling/stock.rb', line 1485 def margins @margins end |
#text ⇒ Object
- 0
-
(Number) #
1481 1482 1483 |
# File 'lib/ambling/stock.rb', line 1481 def text @text end |
#text_color ⇒ Object
- #FFFFFF
-
(hex code) #
1493 1494 1495 |
# File 'lib/ambling/stock.rb', line 1493 def text_color @text_color end |
#text_size ⇒ Object
- text_color
-
(hex code) #
1489 1490 1491 |
# File 'lib/ambling/stock.rb', line 1489 def text_size @text_size end |