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

pulibrary / tigerdata-app / 7efe1a86-aa29-4caa-b857-e235c8c3959f

22 Nov 2025 01:36AM UTC coverage: 40.628% (-50.7%) from 91.317%
7efe1a86-aa29-4caa-b857-e235c8c3959f

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

1487 of 3660 relevant lines covered (40.63%)

52.24 hits per line

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

0.0
/app/models/mediaflux/store_list_request.rb
1
# frozen_string_literal: true
2
module Mediaflux
×
3
  class StoreListRequest < Request
×
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:)
×
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
×
17
      "asset.store.list"
×
18
    end
×
19

20
    def stores
×
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