Skip to content
Browse files

removing backer.id because it is unreliable (sometimes backers have n…

…o avatars)
  • Loading branch information...
1 parent 37dc405 commit 765395050bf1b8ef6dda0038f5b22e1a5bbb8116 @smudge committed
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/kickstarter/backer.rb
View
5 lib/kickstarter/backer.rb
@@ -14,10 +14,6 @@ def initialize(*args)
end
end
- def id
- @id ||= /\/avatars\/([0-9]+)\//.match(thumbnail_url)[1].to_i
- end
-
def thumbnail_url
page_content.css('#profile_avatar img').attribute('src').to_s
end
@@ -56,7 +52,6 @@ def page_content
def to_hash
{
- :id => id,
:name => name,
:username => username,
:url => url,

0 comments on commit 7653950

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