title: How to create product with default variant data using Shopify_api gem
body: <p>I'm getting started with the shopify api ruby gem and just about to create products atm, but I'm already stuck at something very basic ... being that I can't create a (none-variant) product if I want to send my price and inventory data along.</p>
  
  <p>If I'm correct, a product without variants actually has a 'Default Title' variant with the sku, price, inventory etc. But I can't figure out the correct way to do this ... This is what I have now:</p>
  
  <pre><code>new_product = ShopifyAPI::Product.new
  new_product.title = "Burton Custom Freestlye 151"
  new_product.product_type = "Snowboard"
  new_product.vendor = "Burton"
  new_product.published = "false"
  new_product.save
  
  new_product.variants &lt;&lt; ShopifyAPI::Variant.new(
  :option1 =&gt; "Default Title",
  :price =&gt; 12.95,
  :inventory_management =&gt; "shopify",
  :inventory_quantity =&gt; 10
  )
  new_product.save
  </code></pre>
  
  <p>But this results in a product without any of the default variant data.</p>
  
  <p>Tried several things but I'm not getting anywhere closer (like this one: <a href="https://stackoverflow.com/a/12857132/2814321">https://stackoverflow.com/a/12857132/2814321</a>, also not working) ... And the shopify docs aren't really helpful either.</p>
  
  <p>But I'm sure any of you guys can help me with this noobish problem ... right?</p>