Class: Hungry::Tag

Inherits:
Resource show all
Defined in:
lib/hungry/tag.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#attributes, #data_source

Method Summary

Methods inherited from Resource

all, belongs_to, #canonical_data_source, collection, each, find, first, get, has_many, #initialize, lazy_load, #reload

Constructor Details

This class inherits a constructor from Hungry::Resource

Instance Attribute Details

#contextObject

Tag:



15
16
17
# File 'lib/hungry/tag.rb', line 15

def context
  @context
end

#countersObject

Tag:



15
16
17
# File 'lib/hungry/tag.rb', line 15

def counters
  @counters
end

#idObject

Tag:



15
16
17
# File 'lib/hungry/tag.rb', line 15

def id
  @id
end

#nameObject

Tag:



15
16
17
# File 'lib/hungry/tag.rb', line 15

def name
  @name
end

#resourcesObject

Tag:



15
16
17
# File 'lib/hungry/tag.rb', line 15

def resources
  @resources
end