Class: Kaltura::KalturaUnlimitedVendorCredit

Inherits:
KalturaBaseVendorCredit show all
Defined in:
lib/kaltura_plugins/kaltura_reach_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#creditObject

Returns the value of attribute credit.



940
941
942
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 940

def credit
  @credit
end

#from_dateObject

Returns the value of attribute from_date.



941
942
943
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 941

def from_date
  @from_date
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



950
951
952
953
954
955
956
957
958
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 950

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
end