Class: Warcraft::Character::Profile
Instance Method Summary
collapse
Methods inherited from ApiResponse
#initialize
Instance Method Details
#achievement_points ⇒ Integer
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/warcraft/character/profile.rb', line 23
class Profile < ApiResponse
def last_login
Time.at(last_login_timestamp)
end
def url
@response.dig(:_links, :self, :href)
end
end
|
#average_item_level ⇒ Integer
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/warcraft/character/profile.rb', line 23
class Profile < ApiResponse
def last_login
Time.at(last_login_timestamp)
end
def url
@response.dig(:_links, :self, :href)
end
end
|
#equipped_item_level ⇒ Integer
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/warcraft/character/profile.rb', line 23
class Profile < ApiResponse
def last_login
Time.at(last_login_timestamp)
end
def url
@response.dig(:_links, :self, :href)
end
end
|
#experience ⇒ Integer
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/warcraft/character/profile.rb', line 23
class Profile < ApiResponse
def last_login
Time.at(last_login_timestamp)
end
def url
@response.dig(:_links, :self, :href)
end
end
|
#id ⇒ Integer
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/warcraft/character/profile.rb', line 23
class Profile < ApiResponse
def last_login
Time.at(last_login_timestamp)
end
def url
@response.dig(:_links, :self, :href)
end
end
|
#last_login ⇒ Object
24
25
26
|
# File 'lib/warcraft/character/profile.rb', line 24
def last_login
Time.at(last_login_timestamp)
end
|
#last_login_timestamp ⇒ Integer
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/warcraft/character/profile.rb', line 23
class Profile < ApiResponse
def last_login
Time.at(last_login_timestamp)
end
def url
@response.dig(:_links, :self, :href)
end
end
|
#level ⇒ Integer
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/warcraft/character/profile.rb', line 23
class Profile < ApiResponse
def last_login
Time.at(last_login_timestamp)
end
def url
@response.dig(:_links, :self, :href)
end
end
|
#name ⇒ String
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/warcraft/character/profile.rb', line 23
class Profile < ApiResponse
def last_login
Time.at(last_login_timestamp)
end
def url
@response.dig(:_links, :self, :href)
end
end
|
#url ⇒ String
29
30
31
|
# File 'lib/warcraft/character/profile.rb', line 29
def url
@response.dig(:_links, :self, :href)
end
|