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

pulibrary / tigerdata-app / 8c95c6ad-3f28-4fba-9871-b842d6fff681

21 Oct 2025 09:49PM UTC coverage: 86.56% (-0.3%) from 86.877%
8c95c6ad-3f28-4fba-9871-b842d6fff681

push

circleci

web-flow
Stop mediaflux when we stop everything else (#2066)

Ref #2065

2602 of 3006 relevant lines covered (86.56%)

265.46 hits per line

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

45.45
/app/models/mediaflux/store_list_request.rb
1
# frozen_string_literal: true
2
module Mediaflux
1✔
3
  class StoreListRequest < Request
1✔
4
    # Constructor
5
    # @param session_token [String] the API token for the authenticated session
6
    # @param name [String] Name of the Asset
7
    # @param collection [Boolean] create a collection asset if true
8
    # @param namespace [String] Optional Parent namespace for the asset to be created in
9
    # @param pid [Integer] Optional Parent id for the asset to be created in
10
    def initialize(session_token:)
1✔
11
      super(session_token: session_token)
×
12
    end
13

14
    # Specifies the Mediaflux service to use when creating assets
15
    # @return [String]
16
    def self.service
1✔
17
      "asset.store.list"
×
18
    end
19

20
    def stores
1✔
21
      @stores ||= begin
×
22
                    xml = response_xml
×
23
                    xml.xpath("/response/reply/result/store").map do |node|
×
24
                      {
25
                        id: node.xpath("@id").text,
×
26
                        type: node.xpath("./type").text,
27
                        name: node.xpath("./name").text,
28
                        tag: node.xpath("./tag").text
29
                      }
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