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.202.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.201.2 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.201.1 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.201.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.201.0.rc3 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.201.0.rc2 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.201.0.rc1 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.200.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.199.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.198.1 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.198.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.197.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.196.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.195.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.194.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.193.1 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.193.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.192.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb
fastlane-2.191.0 spaceship/lib/spaceship/connect_api/models/capabilities.rb