This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @var $installer Mage_Catalog_Model_Resource_Setup */ | |
$installer = $this; | |
$installer->startSetup(); | |
$installer->getConnection()->addColumn($installer->getTable('bundle/option'), 'block_id', | |
array( | |
'nullable' => true, | |
'unsigned' => true, | |
'type' => Varien_Db_Ddl_Table::TYPE_INTEGER, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This snippet works with Ruby Gem "Savon" | |
client = Savon.client(wsdl: "http://www.OpenLigaDB.de/Webservices/Sportsdata.asmx?WSDL") | |
method = "get_matchdata_by_league_date_time" | |
message = {from_date_time: 5.hours.ago, to_date_time: Time.now, league_shortcut: 'bl1'} | |
result = client.call(:"#{method}", message: message) | |
data_array = result.body[:"#{method}_response"][:"#{method}_result"][:matchdata] | |
data_array.each do |data| | |
puts data[:match_id] | |
end |
NewerOlder