Class: Relinkly::Tag

Inherits:
Element show all
Defined in:
lib/relinkly/tag.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Element

#initialize, #to_h

Constructor Details

This class inherits a constructor from Relinkly::Element

Instance Attribute Details

#colorObject

Returns the value of attribute color.



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

def color
  @color
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end