Class: KeycloakAdmin::ImpersonationRedirectionRepresentation
- Inherits:
-
Representation
- Object
- Representation
- KeycloakAdmin::ImpersonationRedirectionRepresentation
- Defined in:
- lib/keycloak-admin/representation/impersonation_redirection_representation.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#http_method ⇒ Object
readonly
Returns the value of attribute http_method.
-
#impersonation_url ⇒ Object
readonly
Returns the value of attribute impersonation_url.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(http_method, body, impersonation_url, headers) ⇒ ImpersonationRedirectionRepresentation
constructor
A new instance of ImpersonationRedirectionRepresentation.
Methods inherited from Representation
Methods included from CamelJson
Constructor Details
#initialize(http_method, body, impersonation_url, headers) ⇒ ImpersonationRedirectionRepresentation
Returns a new instance of ImpersonationRedirectionRepresentation.
5 6 7 8 9 10 |
# File 'lib/keycloak-admin/representation/impersonation_redirection_representation.rb', line 5 def initialize(http_method, body, impersonation_url, headers) @http_method = http_method @body = body @impersonation_url = impersonation_url @headers = headers end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
3 4 5 |
# File 'lib/keycloak-admin/representation/impersonation_redirection_representation.rb', line 3 def body @body end |
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
3 4 5 |
# File 'lib/keycloak-admin/representation/impersonation_redirection_representation.rb', line 3 def headers @headers end |
#http_method ⇒ Object (readonly)
Returns the value of attribute http_method.
3 4 5 |
# File 'lib/keycloak-admin/representation/impersonation_redirection_representation.rb', line 3 def http_method @http_method end |
#impersonation_url ⇒ Object (readonly)
Returns the value of attribute impersonation_url.
3 4 5 |
# File 'lib/keycloak-admin/representation/impersonation_redirection_representation.rb', line 3 def impersonation_url @impersonation_url end |
Class Method Details
.from_url(url, headers) ⇒ Object
12 13 14 |
# File 'lib/keycloak-admin/representation/impersonation_redirection_representation.rb', line 12 def self.from_url(url, headers) new(:post, {}, url, headers) end |