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

pulibrary / tigerdata-app / 4bd7648b-205c-4734-8694-c95050c79459

29 Oct 2025 07:23PM UTC coverage: 91.355%. Remained the same
4bd7648b-205c-4734-8694-c95050c79459

Pull #2118

circleci

web-flow
Merge branch 'main' into upgrade_017
Pull Request #2118: Upgrade to mediaflux_dev v0.17.0

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

440 existing lines in 26 files now uncovered.

2811 of 3077 relevant lines covered (91.36%)

490.81 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
4✔
UNCOV
3
  class AssetDestroyRequest < Request
4✔
UNCOV
4
    attr_reader :collection, :members
4✔
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:)
4✔
UNCOV
12
      super(session_token: session_token)
47✔
UNCOV
13
      @collection = collection
47✔
UNCOV
14
      @members = members
47✔
UNCOV
15
    end
16

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

UNCOV
23
      private
4✔
24

UNCOV
25
        def build_http_request_body(name:)
4✔
UNCOV
26
          super do |xml|
94✔
UNCOV
27
            xml.args do
94✔
UNCOV
28
              xml.id collection
94✔
UNCOV
29
              xml.members members
94✔
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