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

pulibrary / tigerdata-app / 0fa44f37-9401-471e-84d4-efbabcf424ab

22 Oct 2025 02:10PM UTC coverage: 91.212% (+0.2%) from 91.051%
0fa44f37-9401-471e-84d4-efbabcf424ab

push

circleci

web-flow
Getting rid of the New Project Wizard flipper (#2072)

3 of 4 new or added lines in 1 file covered. (75.0%)

794 existing lines in 41 files now uncovered.

2740 of 3004 relevant lines covered (91.21%)

751.91 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)
94✔
UNCOV
13
      @collection = collection
94✔
UNCOV
14
      @members = members
94✔
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"
188✔
UNCOV
21
    end
22

UNCOV
23
      private
4✔
24

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