Sha256: 7beb884b7189d3cfe93aa37b78c4df3cc9b00f9706426269065b9174895c7d54

Contents?: true

Size: 580 Bytes

Versions: 59

Compression:

Stored size: 580 Bytes

Contents

require_relative '../model'

module Spaceship
  class ConnectAPI
    class Capabilities
      include Spaceship::ConnectAPI::Model

      attr_accessor :name
      attr_accessor :description

      attr_mapping({
        "name" => "name",
        "description" => "description",
      })

      def self.type
        return "capabilities"
      end

      def self.all(client: nil)
        client ||= Spaceship::ConnectAPI
        resp = client.get_available_bundle_id_capabilities(bundle_id_id: id).all_pages
        return resp.flat_map(&:to_models)
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 4 rubygems

Version Path
fastlane-2.225.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.224.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.223.1 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.223.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.222.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.221.1 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.221.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.220.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.219.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.218.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-security-patched-2.216.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.217.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.216.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.215.1 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.215.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-mercafacil-2.214.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.214.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.213.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.212.2 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane_pricing_fix-2.212.1 spaceship/lib/spaceship/connect_api/models/capabilities.rb