Class: Ancestor

Inherits:
Data
  • Object
show all
Defined in:
lib/inat-channel/data_types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



92
93
94
# File 'lib/inat-channel/data_types.rb', line 92

def id
  @id
end

#scientific_nameObject (readonly)

Returns the value of attribute scientific_name

Returns:

  • (Object)

    the current value of scientific_name



92
93
94
# File 'lib/inat-channel/data_types.rb', line 92

def scientific_name
  @scientific_name
end

Instance Method Details

#to_tagObject



93
94
95
# File 'lib/inat-channel/data_types.rb', line 93

def to_tag
  scientific_name.to_tag
end