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.



196
197
198
# File 'lib/liblynx-api/client.rb', line 196

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



204
205
206
# File 'lib/liblynx-api/client.rb', line 204

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

#delete(account_identity, samlidp_identity) ⇒ Object

Delete an existing samlidp.

Parameters:

  • account_identity:
  • samlidp_identity:


212
213
214
# File 'lib/liblynx-api/client.rb', line 212

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:


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

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

#list(account_identity) ⇒ Object

List existing samlidps.

Parameters:

  • account_identity:


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

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