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

pulibrary / tigerdata-app / 756a0a0e-f51a-4bd1-91ab-2ac117b82d34

22 Nov 2025 01:36AM UTC coverage: 82.047% (-9.3%) from 91.317%
756a0a0e-f51a-4bd1-91ab-2ac117b82d34

Pull #2234

circleci

carolyncole
Close the custom storage div when a user chooses a preset option
fixes #2115
Pull Request #2234: Close the custom storage div when a user chooses a preset option

2605 of 3175 relevant lines covered (82.05%)

389.8 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