Class: Cb::Models::Branding::Widget
- Inherits:
-
Object
- Object
- Cb::Models::Branding::Widget
- Defined in:
- lib/cb/models/implementations/branding/widget.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(type, url) ⇒ Widget
constructor
A new instance of Widget.
Constructor Details
#initialize(type, url) ⇒ Widget
Returns a new instance of Widget.
17 18 19 20 |
# File 'lib/cb/models/implementations/branding/widget.rb', line 17 def initialize(type, url) @type = type @url = url end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
15 16 17 |
# File 'lib/cb/models/implementations/branding/widget.rb', line 15 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
15 16 17 |
# File 'lib/cb/models/implementations/branding/widget.rb', line 15 def url @url end |