Class: Otter::Topic

Inherits:
Base
  • Object
show all
Defined in:
lib/otter/topic.rb

Instance Attribute Summary

Attributes inherited from Base

#data

Instance Method Summary collapse

Methods inherited from Base

create, #initialize

Constructor Details

This class inherits a constructor from Otter::Base

Instance Method Details

#termObject



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

def term
  self.data['term']
end

#urlObject



4
5
6
# File 'lib/otter/topic.rb', line 4

def url
  self.data['url']
end