Class: LibLynxAPI::Samlidp

Inherits:
Object
  • Object
show all
Defined in:
lib/liblynx-api/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Samlidp

Returns a new instance of Samlidp.



265
266
267
# File 'lib/liblynx-api/client.rb', line 265

def initialize(client)
  @client = client
end

Instance Method Details

#create(account_identity, body = {}) ⇒ Object

Create a new samlidp.

Parameters:

  • account_identity:
  • body:

    the object to pass as the request payload



273
274
275
# File 'lib/liblynx-api/client.rb', line 273

def create(, body = {})
  @client.samlidp.create(, body)
end

#delete(account_identity, samlidp_identity) ⇒ Object

Delete an existing samlidp.

Parameters:

  • account_identity:
  • samlidp_identity:


281
282
283
# File 'lib/liblynx-api/client.rb', line 281

def delete(, samlidp_identity)
  @client.samlidp.delete(, samlidp_identity)
end

#info(account_identity, samlidp_identity) ⇒ Object

Info for existing samlidp.

Parameters:

  • account_identity:
  • samlidp_identity:


289
290
291
# File 'lib/liblynx-api/client.rb', line 289

def info(, samlidp_identity)
  @client.samlidp.info(, samlidp_identity)
end

#list(account_identity) ⇒ Object

List existing samlidps.

Parameters:

  • account_identity:


296
297
298
# File 'lib/liblynx-api/client.rb', line 296

def list()
  @client.samlidp.list()
end