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[:battle_tag] 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[:blacksmith_hardcore] end |
#blacksmith_season ⇒ Object
93 94 95 |
# File 'lib/diablo_api/models/profiles/career.rb', line 93 def blacksmith_season @data[:blacksmith_season] end |
#fallen_heroes ⇒ Object
65 66 67 |
# File 'lib/diablo_api/models/profiles/career.rb', line 65 def fallen_heroes @data[:fallen_heroes] end |
#guild_name ⇒ Object
33 34 35 |
# File 'lib/diablo_api/models/profiles/career.rb', line 33 def guild_name @data[:guild_name] 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[:highest_hardcore_level] 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[:jeweler_hardcore] end |
#jeweler_season ⇒ Object
97 98 99 |
# File 'lib/diablo_api/models/profiles/career.rb', line 97 def jeweler_season @data[:jeweler_season] 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[:last_hero_played] end |
#last_updated ⇒ Object
45 46 47 |
# File 'lib/diablo_api/models/profiles/career.rb', line 45 def last_updated @data[:last_updated] 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[:mystic_hardcore] end |
#mystic_season ⇒ Object
101 102 103 |
# File 'lib/diablo_api/models/profiles/career.rb', line 101 def mystic_season @data[:mystic_season] end |
#paragon_level ⇒ Object
17 18 19 |
# File 'lib/diablo_api/models/profiles/career.rb', line 17 def paragon_level @data[:paragon_level] end |
#paragon_level_hardcore ⇒ Object
21 22 23 |
# File 'lib/diablo_api/models/profiles/career.rb', line 21 def paragon_level_hardcore @data[:paragon_level_hardcore] end |
#paragon_level_season ⇒ Object
25 26 27 |
# File 'lib/diablo_api/models/profiles/career.rb', line 25 def paragon_level_season @data[:paragon_level_season] 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[:paragon_level_season_hardcore] 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[:seasonal_profiles] end |
#time_played ⇒ Object
57 58 59 |
# File 'lib/diablo_api/models/profiles/career.rb', line 57 def time_played @data[:time_played] end |