Module: ScientificNameClean::SimpleAuthorship4

Defined in:
lib/biodiversity/parser/scientific_name_clean.rb

Instance Method Summary collapse

Instance Method Details

#detailsObject



4774
4775
4776
4777
4778
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4774

def details
  details = details_with_arg(:basionymAuthorTeam)
  details[:basionymAuthorTeam].merge!(super)
  details
end

#details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object



4780
4781
4782
4783
4784
4785
4786
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4780

def details_with_arg(authorTeamType = "basionymAuthorTeam")
  { :authorship => text_value,
    authorTeamType.to_sym => {
      :authorTeam => text_value,
    }
  }
end