Skip to content
Browse files

update README instructions and convert to Markdown

  • Loading branch information...
1 parent 916fe49 commit 9aa9f864f0536580849c7d0cc7c3027373910a9f Julien Dumas committed Sep 13, 2011
Showing with 24 additions and 14 deletions.
  1. +0 −14 README
  2. +24 −0 README.md
View
14 README
@@ -1,14 +0,0 @@
-How to use
--------------------------------------
-
-require 'the_adult_company'
-
-TheAdultCompany.login = 'username'
-TheAdultCompany.password = 'password'
-
-sales = TheAdultCompany.find( :from => Time.now - 86400 ) # equivalent to TheAdultCompany.find( :from => Time.now - 86400, :to => Time.now )
-sales.each do |sale|
- puts "Sale ID: #{sale.id}"
- puts "Total: $#{sale.payout}"
- puts "----------------------------------------------"
-end
View
24 README.md
@@ -0,0 +1,24 @@
+How to install
+==============
+Terminal
+--------
+ $ gem install the_adult_company
+
+Gemfile
+-------
+ gem 'the_adult_company'
+
+How to use
+==========
+
+ require 'the_adult_company'
+
+ TheAdultCompany.login = 'username'
+ TheAdultCompany.password = 'password'
+
+ sales = TheAdultCompany.find( :from => Time.now - 86400 ) # equivalent to TheAdultCompany.find( :from => Time.now - 86400, :to => Time.now )
+ sales.each do |sale|
+ puts "Sale ID: #{sale.id}"
+ puts "Total: $#{sale.payout}"
+ puts "----------------------------------------------"
+ end

0 comments on commit 9aa9f86

Please sign in to comment.
Something went wrong with that request. Please try again.