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

pulibrary / orangelight / 00dbc10b-d747-4ad7-b211-7b26d753abbb

14 Aug 2025 01:25PM UTC coverage: 0.483% (-94.9%) from 95.343%
00dbc10b-d747-4ad7-b211-7b26d753abbb

push

circleci

web-flow
Merge pull request #5181 from pulibrary/dependabot/bundler/activestorage-7.2.2.2

Bump activestorage from 7.2.2.1 to 7.2.2.2

47 of 9721 relevant lines covered (0.48%)

0.01 hits per line

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

0.0
/app/models/requests/back_to_record_url.rb
1
# frozen_string_literal: true
2
# This class is responsible for assembling the URL for the user
3
# to return to the record they were viewing prior to entering the
4
# requests system
5
class Requests::BackToRecordUrl
×
6
  def initialize(input_params)
×
7
    @input_params = input_params.permit(:system_id, :open_holdings)
×
8
  end
×
9

10
  def to_s
×
11
    Rails.application.routes.url_helpers.solr_document_path output_params
×
12
  end
×
13

14
    private
×
15

16
      attr_reader :input_params
×
17

18
      def output_params
×
19
        { id: system_id, open_holdings: }.compact
×
20
      end
×
21

22
      def system_id
×
23
        input_params[:system_id]
×
24
      end
×
25

26
      def open_holdings
×
27
        input_params[:open_holdings]
×
28
      end
×
29
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