• 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/illiad_metadata/metadata.rb
1
# frozen_string_literal: true
2

3
module Requests
×
4
  module IlliadMetadata
×
5
    class Metadata
×
6
      def initialize(username, transaction_status, request_type, process_type, not_wanted_after,
×
7
                     wanted_by, photo_item_author, photo_article_author, photo_journal_title,
×
8
                     photo_item_publisher, issn, call_number, photo_journal_inclusive_pages, cited_in,
×
9
                     photo_journal_year, photo_journal_volume, photo_journal_issue, item_info3,
×
10
                     item_info4, cited_pages, accept_non_english, esp_number, document_type, location,
×
11
                     photo_article_title)
×
12
        @username = username
×
13
        @transaction_status = transaction_status
×
14
        @request_type = request_type
×
15
        @process_type = process_type
×
16
        @not_wanted_after = not_wanted_after
×
17
        @wanted_by = wanted_by
×
18
        @photo_item_author = photo_item_author
×
19
        @photo_article_author = photo_article_author
×
20
        @photo_journal_title = photo_journal_title
×
21
        @photo_item_publisher = photo_item_publisher
×
22
        @issn = issn
×
23
        @call_number = call_number
×
24
        @photo_journal_inclusive_pages = photo_journal_inclusive_pages
×
25
        @cited_in = cited_in
×
26
        @photo_journal_year = photo_journal_year
×
27
        @photo_journal_volume = photo_journal_volume
×
28
        @photo_journal_issue = photo_journal_issue
×
29
        @item_info3 = item_info3
×
30
        @item_info4 = item_info4
×
31
        @cited_pages = cited_pages
×
32
        @accept_non_english = accept_non_english
×
33
        @esp_number = esp_number
×
34
        @document_type = document_type
×
35
        @location = location
×
36
        @photo_article_title = photo_article_title
×
37
      end
×
38

39
      def to_metadata_hash
×
40
        {
×
41
          "Username" => @username,
×
42
          "TransactionStatus" => @transaction_status,
×
43
          "RequestType" => @request_type,
×
44
          "ProcessType" => @process_type,
×
45
          "NotWantedAfter" => @not_wanted_after,
×
46
          "WantedBy" => @wanted_by,
×
47
          "PhotoItemAuthor" => @photo_item_author,
×
48
          "PhotoArticleAuthor" => @photo_article_author,
×
49
          "PhotoJournalTitle" => @photo_journal_title,
×
50
          "PhotoItemPublisher" => @photo_item_publisher,
×
51
          "ISSN" => @issn,
×
52
          "CallNumber" => @call_number,
×
53
          "PhotoJournalInclusivePages" => @photo_journal_inclusive_pages,
×
54
          "CitedIn" => @cited_in,
×
55
          "PhotoJournalYear" => @photo_journal_year,
×
56
          "PhotoJournalVolume" => @photo_journal_volume,
×
57
          "PhotoJournalIssue" => @photo_journal_issue,
×
58
          "ItemInfo3" => @item_info3,
×
59
          "ItemInfo4" => @item_info4,
×
60
          "CitedPages" => @cited_pages,
×
61
          "AcceptNonEnglish" => @accept_non_english,
×
62
          "ESPNumber" => @esp_number,
×
63
          "DocumentType" => @document_type,
×
64
          "Location" => @location,
×
65
          "PhotoArticleTitle" => @photo_article_title
×
66
        }
×
67
      end
×
68
    end
×
69
  end
×
70
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