• 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/non_alma_aeon_url.rb
1
# frozen_string_literal: true
2
module Requests
×
3
  # Create a URL that creates an aeon request
4
  class NonAlmaAeonUrl < AeonUrl
×
5
    private
×
6

7
      def aeon_basic_params
×
8
        super.merge({
×
9
                      Action: 10, # Action 10 is "transaction" per https://support.atlas-sys.com/hc/en-us/articles/360011920133-Aeon-Web-Action-Form-and-Type-Numbers
×
10
                      Form: 21, # Form 21 is "RequestDefault" per https://support.atlas-sys.com/hc/en-us/articles/360011920133-Aeon-Web-Action-Form-and-Type-Numbers
×
11
                      ItemTitle: aeon_title.truncate(247),
×
12
                      ItemAuthor: author,
×
13
                      ItemDate: @document[:pub_date_start_sort],
×
14
                      ItemVolume: @holding[:location],
×
15
                      genre: aeon_genre
×
16
                    }).compact
×
17
      end
×
18

19
      def aeon_title
×
20
        "#{@document.first(:title_display)}#{title_genre}"
×
21
      end
×
22

23
      def title_genre
×
24
        " [ #{@document.first(:form_genre_display)} ]" unless @document[:form_genre_display].nil?
×
25
      end
×
26

27
      def aeon_genre
×
28
        return 'numismatics' if holding[:call_number]&.downcase&.start_with?('coin')
×
29
        'thesis'
×
30
      end
×
31

32
      def author
×
33
        @document[:author_display]&.join(" AND ")
×
34
      end
×
35
  end
×
36
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