Created
May 3, 2012 16:05
-
-
Save resistorsoftware/2586825 to your computer and use it in GitHub Desktop.
Playing with blog article
This file contains hidden or 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
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