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

pulibrary / tigerdata-app / 16a249b4-5bc7-4c54-be75-3d7745d7b5c6

28 Oct 2025 08:31PM UTC coverage: 67.902% (-23.4%) from 91.333%
16a249b4-5bc7-4c54-be75-3d7745d7b5c6

Pull #2118

circleci

bess
Upgrade to mediaflux_dev v0.17.0
Pull Request #2118: Upgrade to mediaflux_dev v0.17.0

2181 of 3212 relevant lines covered (67.9%)

80.5 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