Class: RubyAem::Resources::Saml
- Inherits:
-
Object
- Object
- RubyAem::Resources::Saml
- Defined in:
- lib/ruby_aem/resources/saml.rb
Overview
AEM class contains API calls related to managing SAML.
Instance Method Summary collapse
-
#create(opts) ⇒ Object
Create SAML configuration.
-
#delete ⇒ Object
Delete SAML configuration.
-
#get ⇒ Object
Get SAML configuration.
-
#initialize(client) ⇒ Object
constructor
Initialise Saml.
Constructor Details
#initialize(client) ⇒ Object
Initialise Saml.
25 26 27 28 |
# File 'lib/ruby_aem/resources/saml.rb', line 25 def initialize(client) @client = client @call_params = {} end |
Instance Method Details
#create(opts) ⇒ Object
Create SAML configuration
39 40 41 42 |
# File 'lib/ruby_aem/resources/saml.rb', line 39 def create(opts) @call_params = @call_params.merge(opts) @client.call(self.class, __callee__.to_s, @call_params) end |
#delete ⇒ Object
Delete SAML configuration
47 48 49 50 51 52 |
# File 'lib/ruby_aem/resources/saml.rb', line 47 def delete @call_params[:apply] = true @call_params[:delete] = true @client.call(self.class, __callee__.to_s, @call_params) end |
#get ⇒ Object
Get SAML configuration
57 58 59 |
# File 'lib/ruby_aem/resources/saml.rb', line 57 def get @client.call(self.class, __callee__.to_s, @call_params) end |