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

pulibrary / tigerdata-app / 5993ec88-2c2c-4699-bc05-512f6cd54a9b

21 Oct 2025 05:36PM UTC coverage: 91.051% (-0.1%) from 91.184%
5993ec88-2c2c-4699-bc05-512f6cd54a9b

push

circleci

web-flow
Adds startup screen for users with no projects (#2048)

* WIP startup page for no projects

* WIP adding image

* Ran prettier

* Updated test and moved CSS

* Fiddling with CSS

* Centered CSS display

---------

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

2737 of 3006 relevant lines covered (91.05%)

379.99 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
2✔
3
  class AssetDestroyRequest < Request
2✔
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

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

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

23
      private
2✔
24

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