Class: Ambling::Stock::Settings::Header

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#bg_alphaObject

0

(Number) #



1501
1502
1503
# File 'lib/ambling/stock.rb', line 1501

def bg_alpha
  @bg_alpha
end

#bg_colorObject

0

(Number) #



1497
1498
1499
# File 'lib/ambling/stock.rb', line 1497

def bg_color
  @bg_color
end

#border_alphaObject

#ABABAB

(hex code) #



1505
1506
1507
# File 'lib/ambling/stock.rb', line 1505

def border_alpha
  @border_alpha
end

#border_colorObject

0

(Number) #



1509
1510
1511
# File 'lib/ambling/stock.rb', line 1509

def border_color
  @border_color
end

#border_widthObject

0

(Number) #



1513
1514
1515
# File 'lib/ambling/stock.rb', line 1513

def border_width
  @border_width
end

#corner_radiusObject

Returns the value of attribute corner_radius.



1517
1518
1519
# File 'lib/ambling/stock.rb', line 1517

def corner_radius
  @corner_radius
end

#enabledObject

(text) #



1477
1478
1479
# File 'lib/ambling/stock.rb', line 1477

def enabled
  @enabled
end

#marginsObject

text_size

(Number) #



1485
1486
1487
# File 'lib/ambling/stock.rb', line 1485

def margins
  @margins
end

#textObject

0

(Number) #



1481
1482
1483
# File 'lib/ambling/stock.rb', line 1481

def text
  @text
end

#text_colorObject

#FFFFFF

(hex code) #



1493
1494
1495
# File 'lib/ambling/stock.rb', line 1493

def text_color
  @text_color
end

#text_sizeObject

text_color

(hex code) #



1489
1490
1491
# File 'lib/ambling/stock.rb', line 1489

def text_size
  @text_size
end