Class: Weeblycloud::Theme
- Inherits:
-
CloudResource
- Object
- CloudResource
- Weeblycloud::Theme
- Defined in:
- lib/weeblycloud/theme.rb
Overview
Represents a Theme resource. cloud-developer.weebly.com/theme.html
Instance Attribute Summary
Attributes inherited from CloudResource
Instance Method Summary collapse
- #get ⇒ Object
- #id ⇒ Object
-
#initialize(user_id, theme_id, data = nil) ⇒ Theme
constructor
A new instance of Theme.
Methods inherited from CloudResource
Constructor Details
#initialize(user_id, theme_id, data = nil) ⇒ Theme
Returns a new instance of Theme.
9 10 11 12 13 14 |
# File 'lib/weeblycloud/theme.rb', line 9 def initialize(user_id, theme_id, data = nil) @user_id = user_id.to_i @theme_id = theme_id.to_i super(data) end |
Instance Method Details
#get ⇒ Object
16 17 18 |
# File 'lib/weeblycloud/theme.rb', line 16 def get nil end |
#id ⇒ Object
20 21 22 |
# File 'lib/weeblycloud/theme.rb', line 20 def id @theme_id end |