Module: DiabloApi::Profiles::Career
- Included in:
- Career
- Defined in:
- lib/diablo_api/models/profiles/career.rb
Instance Method Summary collapse
- #battle_tag ⇒ Object
- #blacksmith ⇒ Object
- #blacksmith_hardcore ⇒ Object
- #blacksmith_season ⇒ Object
- #fallen_heroes ⇒ Object
- #guild_name ⇒ Object
- #heroes ⇒ Object
- #highest_hardcore_level ⇒ Object
- #jeweler ⇒ Object
- #jeweler_hardcore ⇒ Object
- #jeweler_season ⇒ Object
- #kills ⇒ Object
- #last_hero_played ⇒ Object
- #last_updated ⇒ Object
- #main_data ⇒ Object
- #mystic ⇒ Object
- #mystic_hardcore ⇒ Object
- #mystic_season ⇒ Object
- #paragon_level ⇒ Object
- #paragon_level_hardcore ⇒ Object
- #paragon_level_season ⇒ Object
- #paragon_level_season_hardcore ⇒ Object
- #progression ⇒ Object
- #seasonal_profiles ⇒ Object
- #time_played ⇒ Object
Instance Method Details
#battle_tag ⇒ Object
13 14 15 |
# File 'lib/diablo_api/models/profiles/career.rb', line 13 def battle_tag @data['battleTag'] end |
#blacksmith ⇒ Object
69 70 71 |
# File 'lib/diablo_api/models/profiles/career.rb', line 69 def blacksmith @data['blacksmith'] end |
#blacksmith_hardcore ⇒ Object
81 82 83 |
# File 'lib/diablo_api/models/profiles/career.rb', line 81 def blacksmith_hardcore @data['blacksmithHardcore'] end |
#blacksmith_season ⇒ Object
93 94 95 |
# File 'lib/diablo_api/models/profiles/career.rb', line 93 def blacksmith_season @data['blacksmithSeason'] end |
#fallen_heroes ⇒ Object
65 66 67 |
# File 'lib/diablo_api/models/profiles/career.rb', line 65 def fallen_heroes @data['fallenHeroes'] end |
#guild_name ⇒ Object
33 34 35 |
# File 'lib/diablo_api/models/profiles/career.rb', line 33 def guild_name @data['guildName'] end |
#heroes ⇒ Object
37 38 39 |
# File 'lib/diablo_api/models/profiles/career.rb', line 37 def heroes @data['heroes'] end |
#highest_hardcore_level ⇒ Object
53 54 55 |
# File 'lib/diablo_api/models/profiles/career.rb', line 53 def highest_hardcore_level @data['highestHardcoreLevel'] end |
#jeweler ⇒ Object
73 74 75 |
# File 'lib/diablo_api/models/profiles/career.rb', line 73 def jeweler @data['jeweler'] end |
#jeweler_hardcore ⇒ Object
85 86 87 |
# File 'lib/diablo_api/models/profiles/career.rb', line 85 def jeweler_hardcore @data['jewelerHardcore'] end |
#jeweler_season ⇒ Object
97 98 99 |
# File 'lib/diablo_api/models/profiles/career.rb', line 97 def jeweler_season @data['jewelerSeason'] end |
#kills ⇒ Object
49 50 51 |
# File 'lib/diablo_api/models/profiles/career.rb', line 49 def kills @data['kills'] end |
#last_hero_played ⇒ Object
41 42 43 |
# File 'lib/diablo_api/models/profiles/career.rb', line 41 def last_hero_played @data['lastHeroPlayed'] end |
#last_updated ⇒ Object
45 46 47 |
# File 'lib/diablo_api/models/profiles/career.rb', line 45 def last_updated @data['lastUpdated'] end |
#main_data ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/diablo_api/models/profiles/career.rb', line 4 def main_data ignore = %w(Hash Array) md = {} @data.each do |k, v| md[k] = v unless ignore.include? v.class.to_s end md end |
#mystic ⇒ Object
77 78 79 |
# File 'lib/diablo_api/models/profiles/career.rb', line 77 def mystic @data['mystic'] end |
#mystic_hardcore ⇒ Object
89 90 91 |
# File 'lib/diablo_api/models/profiles/career.rb', line 89 def mystic_hardcore @data['mysticHardcore'] end |
#mystic_season ⇒ Object
101 102 103 |
# File 'lib/diablo_api/models/profiles/career.rb', line 101 def mystic_season @data['mysticSeason'] end |
#paragon_level ⇒ Object
17 18 19 |
# File 'lib/diablo_api/models/profiles/career.rb', line 17 def paragon_level @data['paragonLevel'] end |
#paragon_level_hardcore ⇒ Object
21 22 23 |
# File 'lib/diablo_api/models/profiles/career.rb', line 21 def paragon_level_hardcore @data['paragonLevelHardcore'] end |
#paragon_level_season ⇒ Object
25 26 27 |
# File 'lib/diablo_api/models/profiles/career.rb', line 25 def paragon_level_season @data['paragonLevelSeason'] end |
#paragon_level_season_hardcore ⇒ Object
29 30 31 |
# File 'lib/diablo_api/models/profiles/career.rb', line 29 def paragon_level_season_hardcore @data['paragonLevelSeasonHardcore'] end |
#progression ⇒ Object
61 62 63 |
# File 'lib/diablo_api/models/profiles/career.rb', line 61 def progression @data['progression'] end |
#seasonal_profiles ⇒ Object
105 106 107 |
# File 'lib/diablo_api/models/profiles/career.rb', line 105 def seasonal_profiles @data['seasonalProfiles'] end |
#time_played ⇒ Object
57 58 59 |
# File 'lib/diablo_api/models/profiles/career.rb', line 57 def time_played @data['timePlayed'] end |