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.131.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190911200010 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190910200104 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190909200058 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190908200041 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190907200030 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190906200026 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190905200113 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190904200040 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190903200013 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190902200022 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190901200035 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190831200041 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.131.0.beta.20190830200038 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.130.0 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.130.0.beta.20190829200051 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.130.0.beta.20190828200015 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.130.0.beta.20190827200051 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.130.0.beta.20190826200016 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
fastlane-2.130.0.beta.20190825200030 spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb