Method: GuardianContent::Tag#section
- Defined in:
- lib/guardian-content/tag.rb
#section ⇒ Object
Returns the section associated with a Tag.
51 52 53 |
# File 'lib/guardian-content/tag.rb', line 51 def section return GuardianContent::Section.new(:id => self.section_id, :webTitle => self.section_name, :webUrl => "http://www.guardian.co.uk/" + self.section_id) end |