Class: Otter::Tag

Inherits:
Base
  • Object
show all
Defined in:
lib/otter/tag.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

#nameObject



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

def name
  self.data['name']
end

#urlObject



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

def url
  self.data['url']
end