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

pulibrary / allsearch_api / 69a58078-7c74-46c7-a70c-36d7ba34ec41

01 Dec 2025 11:31PM UTC coverage: 99.903%. Remained the same
69a58078-7c74-46c7-a70c-36d7ba34ec41

push

circleci

web-flow
Merge pull request #413 from pulibrary/rom-repo

Update ROM-related gems

1035 of 1036 relevant lines covered (99.9%)

108.64 hits per line

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

100.0
/app/models/banner.rb
1
# frozen_string_literal: true
2

3
# This class is responsible for coordinating displaying an informational banner
4
class Banner < ApplicationRecord
3✔
5
  enum :alert_status, {
3✔
6
    info: 1,
7
    success: 2,
8
    warning: 3,
9
    error: 4
10
  }
11

12
  def display_banner
3✔
13
    @display_banner = Flipper.enabled?(:banner)
3✔
14
  end
15

16
  # args is an instance of Rake::TaskArguments
17
  def rake_update(args)
3✔
18
    update(args.to_h)
3✔
19
    save!
3✔
20
  end
21
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

© 2025 Coveralls, Inc