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.132.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190930200026 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190929200020 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190928200106 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190927200017 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190926200023 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190925200108 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190924200030 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190923200017 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190922200014 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190921200021 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190920200012 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190919200100 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190918200023 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190917200011 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190916200055 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190915200038 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190914200034 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190913200058 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.132.0.beta.20190912200052 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb