Class: Kaltura::KalturaSso
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaSso
- Defined in:
- lib/kaltura_plugins/kaltura_sso_client_plugin.rb
Instance Attribute Summary collapse
-
#application_type ⇒ Object
Returns the value of attribute application_type.
-
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds).
-
#data ⇒ Object
Returns the value of attribute data.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#id ⇒ Object
Returns the value of attribute id.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#redirect_url ⇒ Object
Redirect URL for a specific application type and (partner id or domain).
-
#status ⇒ Object
Returns the value of attribute status.
-
#updated_at ⇒ Object
Last update date as Unix timestamp (In seconds).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#application_type ⇒ Object
Returns the value of attribute application_type.
40 41 42 |
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 40 def application_type @application_type end |
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
45 46 47 |
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 45 def created_at @created_at end |
#data ⇒ Object
Returns the value of attribute data.
50 51 52 |
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 50 def data @data end |
#domain ⇒ Object
Returns the value of attribute domain.
42 43 44 |
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 42 def domain @domain end |
#id ⇒ Object
Returns the value of attribute id.
39 40 41 |
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 39 def id @id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
41 42 43 |
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 41 def partner_id @partner_id end |
#redirect_url ⇒ Object
Redirect URL for a specific application type and (partner id or domain)
49 50 51 |
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 49 def redirect_url @redirect_url end |
#status ⇒ Object
Returns the value of attribute status.
43 44 45 |
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 43 def status @status end |
#updated_at ⇒ Object
Last update date as Unix timestamp (In seconds)
47 48 49 |
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 47 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 68 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['applicationType'] != nil self.application_type = xml_element.elements['applicationType'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['domain'] != nil self.domain = xml_element.elements['domain'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end if xml_element.elements['redirectUrl'] != nil self.redirect_url = xml_element.elements['redirectUrl'].text end if xml_element.elements['data'] != nil self.data = xml_element.elements['data'].text end end |