• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MushroomObserver / mushroom-observer / 13070378680

31 Jan 2025 09:55AM UTC coverage: 88.867% (-0.04%) from 88.911%
13070378680

push

github

nimmolo
Merge branch 'main' into query-scopes-folder

269 of 328 new or added lines in 21 files covered. (82.01%)

9 existing lines in 3 files now uncovered.

27355 of 30782 relevant lines covered (88.87%)

564.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/classes/query/api_keys.rb
1
# frozen_string_literal: true
2

3
class Query::APIKeys < Query::Base
×
4
  def model
×
5
    APIKey
×
6
  end
×
7

8
  def parameter_declarations
×
9
    super.merge(
×
NEW
10
      created_at: [:time],
×
NEW
11
      updated_at: [:time],
×
NEW
12
      notes_has: :string
×
13
    )
×
14
  end
×
15

16
  def initialize_flavor
×
17
    add_sort_order_to_title
×
18
    add_time_condition("api_keys.created_at", params[:created_at])
×
19
    add_time_condition("api_keys.updated_at", params[:updated_at])
×
20
    add_search_condition("api_keys.notes", params[:notes_has])
×
21
    super
×
22
  end
×
23

24
  def self.default_order
×
25
    "created_at"
×
26
  end
×
27
end
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc