Module: Spaceship::ConnectAPI::Provisioning

Included in:
Spaceship::ConnectAPI
Defined in:
spaceship/lib/spaceship/connect_api/provisioning/client.rb,
spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb

Defined Under Namespace

Classes: Client

Instance Method Summary collapse

Instance Method Details

#get_bundle_id(bundle_id_id: {}, includes: nil) ⇒ Object



15
16
17
18
# File 'spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb', line 15

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

#get_bundle_ids(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object

bundleIds



10
11
12
13
# File 'spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb', line 10

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

#get_certificates(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object

certificates



24
25
26
27
# File 'spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb', line 24

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

#get_devices(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object

devices



33
34
35
36
# File 'spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb', line 33

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

#get_profiles(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object

profiles



42
43
44
45
# File 'spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb', line 42

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