Skip to content

Instantly share code, notes, and snippets.

@resistorsoftware
Created May 3, 2012 16:05
Show Gist options
  • Save resistorsoftware/2586825 to your computer and use it in GitHub Desktop.
Save resistorsoftware/2586825 to your computer and use it in GitHub Desktop.
Playing with blog article
b = ShopifyAPI::Blog.first
a = ShopifyAPI::Article.create(:title => "FizzBuzz", :author => "Gringo", :tags => "tag1, tag2", :body_html => "<h1>Article on Monkeys</h1>", :published_at => "2011-01-01 00:15")
a.published_at => "2011-01-01T00:15:00-05:00"
a.published_at = "2011-02-02" => "2011-02-02"
a.save => true
a.published_at = "2011-02-02" => "2011-02-02"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment