README.md in scouter-0.0.3 vs README.md in scouter-0.0.4
- old
+ new
@@ -24,11 +24,11 @@
## Usage Ruby Program
require 'scouter'
- results, errors = SocialCounter.new('http://google.com')
+ results, errors = Scouter.get_count('http://google.com')
results.each do |url, service|
puts url #=> http://google.com
puts service.buffer #=> 129
puts service.facebook #=> 166458
puts service.googleplus #=> 139198
@@ -38,19 +38,19 @@
puts service.twitter #=> 1358112
end
if you want to get social count in facebook & twitter
- results, errors = SocialCounter.new('http://google.com', [Scouter::Facebook, Scouter::Twitter])
+ results, errors = Scouter.get_count('http://google.com', [Scouter::Facebook, Scouter::Twitter])
results.each do |url, service|
puts url #=> http://google.com
puts service.facebook #=> 166458
puts service.twitter #=> 1358112
end
## Contributing
-1. Fork it ( https://github.com/[my-github-username]/scouter/fork )
+1. Fork it ( https://github.com/morizyun/scouter/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request