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.



219
220
221
# File 'lib/liblynx-api/client.rb', line 219

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



227
228
229
# File 'lib/liblynx-api/client.rb', line 227

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

#delete(account_identity, samlidp_identity) ⇒ Object

Delete an existing samlidp.

Parameters:

  • account_identity:
  • samlidp_identity:


235
236
237
# File 'lib/liblynx-api/client.rb', line 235

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:


243
244
245
# File 'lib/liblynx-api/client.rb', line 243

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

#list(account_identity) ⇒ Object

List existing samlidps.

Parameters:

  • account_identity:


250
251
252
# File 'lib/liblynx-api/client.rb', line 250

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