Skip to content

Commit

Permalink
Add new attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed Jan 11, 2012
1 parent 5042ee5 commit edd1748
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/scrobbler/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ def load_from_xml(node)
@playlistcount = child.content.to_i
when 'registered'
@registered = Time.parse child.content
when 'id'
@id = child.content.to_i
when 'type'
@type = child.content.to_i
when 'bootstrap'
# TODO Guess meaning of 'bootstrap' field
when 'text'
Expand Down

0 comments on commit edd1748

Please sign in to comment.