README.md.erb in twoffein-client-0.1.0 vs README.md.erb in twoffein-client-0.1.1

- old
+ new

@@ -1,7 +1,7 @@ # Twoffein-Client -Client-Version: <%= require File.absolute_path("lib/twoffein-client/version.rb", __FILE__); Twoffein::Client::VERSION %> | API-Version: <%= require File.absolute_path("lib/twoffein-client/version.rb", __FILE__); Twoffein::Server::VERSION %> +Client-Version: <%= require File.absolute_path("../lib/twoffein-client/version.rb", __FILE__); Twoffein::Client::VERSION %> | API-Version: <%= require File.absolute_path("../lib/twoffein-client/version.rb", __FILE__); Twoffein::Server::VERSION %> This client for [Twoffein](http://twoffein.com/)'s [API](http://twoffein.com/api-faq/). ## Installation @@ -23,11 +23,11 @@ <%= %x[bundle exec bin/twoffein-client --help] %> ``` ## Examples <% - def example(title, command); + def self.example(title, command); title = "### #{title}" input = "**Input:**\n\n #{command.gsub("bundle exec bin/",'')}" output = "**Output:**\n```\n#{%x[#{command}]}```" [title, input, output].join("\n\n") end @@ -38,9 +38,11 @@ <%= example "Drinks (filtered)", "bundle exec bin/twoffein-client drinks --grep club" %> <%= example "Profile", "bundle exec bin/twoffein-client profile" %> <%= example "Cookie", "bundle exec bin/twoffein-client cookie DSIW" %> + +_Notice: You can't send yourself a cookie._ <%= example "Tweet", "bundle exec bin/twoffein-client tweet clubmate" %> ## Contributing