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

pulibrary / tigerdata-app / f38a196c-60ac-4f70-afff-acf5f2a3dd33

09 Nov 2025 02:49PM UTC coverage: 77.281% (-14.0%) from 91.243%
f38a196c-60ac-4f70-afff-acf5f2a3dd33

Pull #2170

circleci

bess
Test that the Review and Submit step of the wizard has a Submit button
Pull Request #2170: Test that the Review and Submit step of the wizard has a Submit button

2490 of 3222 relevant lines covered (77.28%)

276.23 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
2
module Mediaflux
1✔
3
  class AssetDestroyRequest < Request
1✔
4
    attr_reader :collection, :members
1✔
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

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

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

23
      private
1✔
24

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