Class: Kaltura::KalturaUnlimitedVendorCredit
- Inherits:
-
KalturaBaseVendorCredit
- Object
- KalturaObjectBase
- KalturaBaseVendorCredit
- Kaltura::KalturaUnlimitedVendorCredit
- Defined in:
- lib/kaltura_plugins/kaltura_reach_client_plugin.rb
Instance Attribute Summary collapse
-
#credit ⇒ Object
Returns the value of attribute credit.
-
#from_date ⇒ Object
Returns the value of attribute from_date.
-
#to_date ⇒ Object
Returns the value of attribute to_date.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#credit ⇒ Object
Returns the value of attribute credit.
841 842 843 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 841 def credit @credit end |
#from_date ⇒ Object
Returns the value of attribute from_date.
842 843 844 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 842 def from_date @from_date end |
#to_date ⇒ Object
Returns the value of attribute to_date.
843 844 845 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 843 def to_date @to_date end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 855 def from_xml(xml_element) super if xml_element.elements['credit'] != nil self.credit = xml_element.elements['credit'].text end if xml_element.elements['fromDate'] != nil self.from_date = xml_element.elements['fromDate'].text end if xml_element.elements['toDate'] != nil self.to_date = xml_element.elements['toDate'].text end end |