Skip to content
Browse files

Add UrlShortener::Response::Info to the required files

  • Loading branch information...
1 parent 3c6aed7 commit ba50c437ac55e231d4ca15dcbd434d380f1a7b03 nas committed Nov 19, 2009
Showing with 7 additions and 3 deletions.
  1. +2 −0 Manifest.txt
  2. +0 −1 README.rdoc
  3. +2 −1 lib/url_shortener.rb
  4. +3 −1 url_shortener.gemspec
View
2 Manifest.txt
@@ -10,6 +10,7 @@ lib/url_shortener/response.rb
lib/url_shortener/response/shorten.rb
lib/url_shortener/response/expand.rb
lib/url_shortener/response/stats.rb
+lib/url_shortener/response/info.rb
spec/spec_helper.rb
spec/url_shortener/authorize_spec.rb
spec/url_shortener/client_spec.rb
@@ -18,6 +19,7 @@ spec/url_shortener/response_spec.rb
spec/url_shortener/response/shorten_spec.rb
spec/url_shortener/response/expand_spec.rb
spec/url_shortener/response/stats_spec.rb
+spec/url_shortener/response/info_spec.rb
features/request_failure.feature
features/api_calls.feature
features/support/env.rb
View
1 README.rdoc
@@ -76,7 +76,6 @@ To use the url_shortener gem you need a bit.ly login and Api key.
info = client.info(:hash => '1RmnUT') # => UrlShortener::Response object
info.result # => returns a hash of all data returned from bitly
- #TODO: ADD convenience methods for info api call
==Docs
View
3 lib/url_shortener.rb
@@ -12,4 +12,5 @@
require 'url_shortener/response.rb'
require 'url_shortener/response/shorten.rb'
require 'url_shortener/response/expand.rb'
-require 'url_shortener/response/stats.rb'
+require 'url_shortener/response/stats.rb'
+require 'url_shortener/response/info.rb'
View
4 url_shortener.gemspec
@@ -19,7 +19,8 @@ Gem::Specification.new do |s|
"lib/url_shortener/response.rb",
"lib/url_shortener/response/shorten.rb",
"lib/url_shortener/response/expand.rb",
- "lib/url_shortener/response/stats.rb"
+ "lib/url_shortener/response/stats.rb",
+ "lib/url_shortener/response/info.rb"
]
s.has_rdoc = true
s.homepage = %q{http://github.com/nas/url_shortener}
@@ -35,6 +36,7 @@ Gem::Specification.new do |s|
"spec/url_shortener/response/shorten_spec.rb",
"spec/url_shortener/response/expand_spec.rb",
"spec/url_shortener/response/stats_spec.rb",
+ "spec/url_shortener/response/info_spec.rb",
"features/api_calls.feature",
"features/request_failure.feature",
"features/support/env.rb",

0 comments on commit ba50c43

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