Module: ScientificNameClean::SimpleAuthorship4

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

Instance Method Summary collapse

Instance Method Details

#detailsObject



4373
4374
4375
4376
4377
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4373

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

#details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object



4379
4380
4381
4382
4383
4384
4385
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4379

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