Class: Template

Inherits:
RestfulModel show all
Defined in:
lib/template.rb

Instance Attribute Summary collapse

Attributes inherited from RestfulModel

#_id, #created_at

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_regionsObject

Returns the value of attribute api_regions.



9
10
11
# File 'lib/template.rb', line 9

def api_regions
  @api_regions
end

#api_tagsObject

Returns the value of attribute api_tags.



8
9
10
# File 'lib/template.rb', line 8

def api_tags
  @api_tags
end

#custom_codeObject

Returns the value of attribute custom_code.



10
11
12
# File 'lib/template.rb', line 10

def custom_code
  @custom_code
end

Returns the value of attribute custom_links.



11
12
13
# File 'lib/template.rb', line 11

def custom_links
  @custom_links
end

#label_namesObject

Returns the value of attribute label_names.



7
8
9
# File 'lib/template.rb', line 7

def label_names
  @label_names
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/template.rb', line 6

def name
  @name
end

#titleObject

Returns the value of attribute title.



5
6
7
# File 'lib/template.rb', line 5

def title
  @title
end

Instance Method Details

#popsObject



13
14
15
# File 'lib/template.rb', line 13

def pops
  @pops ||= RestfulModelCollection.new(Pop, @_api, self)
end