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

pulibrary / tigerdata-app / 62b73c47-d7c3-42d1-89ea-d5a910c801c1

29 Oct 2025 08:18PM UTC coverage: 87.65% (-3.7%) from 91.355%
62b73c47-d7c3-42d1-89ea-d5a910c801c1

push

circleci

web-flow
Upgrade to mediaflux_dev v0.17.0 (#2118)

Co-authored-by: Hector Correa <hector_correa@princeton.edu>

1 of 1 new or added line in 1 file covered. (100.0%)

941 existing lines in 40 files now uncovered.

2697 of 3077 relevant lines covered (87.65%)

426.44 hits per line

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

100.0
/app/models/mediaflux/asset_destroy_request.rb
1
# frozen_string_literal: true
UNCOV
2
module Mediaflux
2✔
UNCOV
3
  class AssetDestroyRequest < Request
2✔
UNCOV
4
    attr_reader :collection, :members
2✔
5

6
    # Constructor
7
    # @param session_token [String] the API token for the authenticated session
8
    # @param collection [Int] the identifier of the collection to be destroyed
9
    # @param members [Boolean] A true/false flag the can destroy all members of a collection
10

UNCOV
11
    def initialize(session_token:, collection:, members:)
2✔
UNCOV
12
      super(session_token: session_token)
16✔
UNCOV
13
      @collection = collection
16✔
UNCOV
14
      @members = members
16✔
UNCOV
15
    end
16

17
    # Specifies the Mediaflux service to use when destroying assets
18
    # @return [String]
UNCOV
19
    def self.service
2✔
UNCOV
20
      "asset.destroy"
32✔
UNCOV
21
    end
22

UNCOV
23
      private
2✔
24

UNCOV
25
        def build_http_request_body(name:)
2✔
UNCOV
26
          super do |xml|
32✔
UNCOV
27
            xml.args do
32✔
UNCOV
28
              xml.id collection
32✔
UNCOV
29
              xml.members members
32✔
UNCOV
30
            end
UNCOV
31
          end
UNCOV
32
        end
UNCOV
33
  end
UNCOV
34
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