lib/protolink/user.rb in protolink-0.2.0 vs lib/protolink/user.rb in protolink-0.2.1

- old
+ new

@@ -1,15 +1,16 @@ module Protolink class User - attr_reader :id, :name, :login, :email, :avatar_url + attr_reader :id, :name, :login, :email, :avatar_url, :external_profile_url def initialize(connection, attributes = {}) @connection = connection @id = attributes['id'] @name = attributes['name'] @login = attributes['login'] @email = attributes['email'] @avatar_url = attributes['avatar_url'] + @external_profile_url = attributes['external_profile_url'] @loaded = false end # get token for autologin def auth_token \ No newline at end of file