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.
815 816 817 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 815 def credit @credit end |
#from_date ⇒ Object
Returns the value of attribute from_date.
816 817 818 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 816 def from_date @from_date end |
#to_date ⇒ Object
Returns the value of attribute to_date.
817 818 819 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 817 def to_date @to_date end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
829 830 831 832 833 834 835 836 837 838 839 840 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 829 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 |