Sha256: 0250baa232bb10e544f0c6c6ffec7b8ee70c8ac4b02ad1229296d9af03415962

Contents?: true

Size: 1.44 KB

Versions: 150

Compression:

Stored size: 1.44 KB

Contents

require 'spaceship/connect_api/provisioning/client'

module Spaceship
  class ConnectAPI
    module Provisioning
      #
      # bundleIds
      #

      def get_bundle_ids(filter: {}, includes: nil, limit: nil, sort: nil)
        params = Client.instance.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
        Client.instance.get("bundleIds", params)
      end

      def get_bundle_id(bundle_id_id: {}, includes: nil)
        params = Client.instance.build_params(filter: nil, includes: includes, limit: nil, sort: nil)
        Client.instance.get("bundleIds/#{bundle_id_id}", params)
      end

      #
      # certificates
      #

      def get_certificates(filter: {}, includes: nil, limit: nil, sort: nil)
        params = Client.instance.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
        Client.instance.get("certificates", params)
      end

      #
      # devices
      #

      def get_devices(filter: {}, includes: nil, limit: nil, sort: nil)
        params = Client.instance.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
        Client.instance.get("devices", params)
      end

      #
      # profiles
      #

      def get_profiles(filter: {}, includes: nil, limit: nil, sort: nil)
        params = Client.instance.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
        Client.instance.get("profiles", params)
      end
    end
  end
end

Version data entries

150 entries across 150 versions & 2 rubygems

Version Path
fastlane-2.148.1 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.148.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.147.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.146.1 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.146.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.145.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.144.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.143.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.142.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.141.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.140.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.139.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.138.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.137.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.136.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.135.2 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.135.1 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.135.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.134.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.133.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb