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.
808 809 810 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 808 def credit @credit end |
#from_date ⇒ Object
Returns the value of attribute from_date.
809 810 811 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 809 def from_date @from_date end |
#to_date ⇒ Object
Returns the value of attribute to_date.
810 811 812 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 810 def to_date @to_date end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
822 823 824 825 826 827 828 829 830 831 832 833 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 822 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 |