Class: Template
- Inherits:
-
RestfulModel
- Object
- RestfulModel
- Template
- Defined in:
- lib/template.rb
Instance Attribute Summary collapse
-
#api_regions ⇒ Object
Returns the value of attribute api_regions.
-
#api_tags ⇒ Object
Returns the value of attribute api_tags.
-
#custom_code ⇒ Object
Returns the value of attribute custom_code.
-
#custom_links ⇒ Object
Returns the value of attribute custom_links.
-
#label_names ⇒ Object
Returns the value of attribute label_names.
-
#name ⇒ Object
Returns the value of attribute name.
-
#title ⇒ Object
Returns the value of attribute title.
Attributes inherited from RestfulModel
Instance Method Summary collapse
Methods inherited from RestfulModel
#==, #as_json, collection_name, #inflate, #initialize, #path, #save!, #update
Constructor Details
This class inherits a constructor from RestfulModel
Instance Attribute Details
#api_regions ⇒ Object
Returns the value of attribute api_regions.
9 10 11 |
# File 'lib/template.rb', line 9 def api_regions @api_regions end |
#api_tags ⇒ Object
Returns the value of attribute api_tags.
8 9 10 |
# File 'lib/template.rb', line 8 def end |
#custom_code ⇒ Object
Returns the value of attribute custom_code.
10 11 12 |
# File 'lib/template.rb', line 10 def custom_code @custom_code end |
#custom_links ⇒ Object
Returns the value of attribute custom_links.
11 12 13 |
# File 'lib/template.rb', line 11 def custom_links @custom_links end |
#label_names ⇒ Object
Returns the value of attribute label_names.
7 8 9 |
# File 'lib/template.rb', line 7 def label_names @label_names end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/template.rb', line 6 def name @name end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/template.rb', line 5 def title @title end |
Instance Method Details
#pops ⇒ Object
13 14 15 |
# File 'lib/template.rb', line 13 def pops @pops ||= RestfulModelCollection.new(Pop, @_api, self) end |