Skip to content

Commit

Permalink
feat: reintroduced rank name, species name and subspecies in the trim…
Browse files Browse the repository at this point in the history
…med api endpoint
  • Loading branch information
lucacug committed Oct 20, 2022
1 parent d8c0d29 commit 3c0e694
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions app/serializers/species/show_taxon_concept_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,11 @@ def include_nomenclature_notification?
@options[:trimmed] == 'false'
end

def include_subspecies?
return true unless @options[:trimmed]
@options[:trimmed] == 'false'
end

def include_kingdom_name?
return true unless @options[:trimmed]
@options[:trimmed] == 'false'
end

def include_species_name?
return true unless @options[:trimmed]
@options[:trimmed] == 'false'
end

def include_rank_name?
return true unless @options[:trimmed]
@options[:trimmed] == 'false'
end

def include_name_status?
return true unless @options[:trimmed]
@options[:trimmed] == 'false'
Expand Down

0 comments on commit 3c0e694

Please sign in to comment.