Module: DiabloApi::Profiles::Career

Included in:
Career
Defined in:
lib/diablo_api/models/profiles/career.rb

Instance Method Summary collapse

Instance Method Details

#battle_tagObject



13
14
15
# File 'lib/diablo_api/models/profiles/career.rb', line 13

def battle_tag
  @data[:battle_tag]
end

#blacksmithObject



69
70
71
# File 'lib/diablo_api/models/profiles/career.rb', line 69

def blacksmith
  @data[:blacksmith]
end

#blacksmith_hardcoreObject



81
82
83
# File 'lib/diablo_api/models/profiles/career.rb', line 81

def blacksmith_hardcore
  @data[:blacksmith_hardcore]
end

#blacksmith_seasonObject



93
94
95
# File 'lib/diablo_api/models/profiles/career.rb', line 93

def blacksmith_season
  @data[:blacksmith_season]
end

#fallen_heroesObject



65
66
67
# File 'lib/diablo_api/models/profiles/career.rb', line 65

def fallen_heroes
  @data[:fallen_heroes]
end

#guild_nameObject



33
34
35
# File 'lib/diablo_api/models/profiles/career.rb', line 33

def guild_name
  @data[:guild_name]
end

#heroesObject



37
38
39
# File 'lib/diablo_api/models/profiles/career.rb', line 37

def heroes
  @data[:heroes]
end

#highest_hardcore_levelObject



53
54
55
# File 'lib/diablo_api/models/profiles/career.rb', line 53

def highest_hardcore_level
  @data[:highest_hardcore_level]
end

#jewelerObject



73
74
75
# File 'lib/diablo_api/models/profiles/career.rb', line 73

def jeweler
  @data[:jeweler]
end

#jeweler_hardcoreObject



85
86
87
# File 'lib/diablo_api/models/profiles/career.rb', line 85

def jeweler_hardcore
  @data[:jeweler_hardcore]
end

#jeweler_seasonObject



97
98
99
# File 'lib/diablo_api/models/profiles/career.rb', line 97

def jeweler_season
  @data[:jeweler_season]
end

#killsObject



49
50
51
# File 'lib/diablo_api/models/profiles/career.rb', line 49

def kills
  @data[:kills]
end

#last_hero_playedObject



41
42
43
# File 'lib/diablo_api/models/profiles/career.rb', line 41

def last_hero_played
  @data[:last_hero_played]
end

#last_updatedObject



45
46
47
# File 'lib/diablo_api/models/profiles/career.rb', line 45

def last_updated
  @data[:last_updated]
end

#main_dataObject



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

#mysticObject



77
78
79
# File 'lib/diablo_api/models/profiles/career.rb', line 77

def mystic
  @data[:mystic]
end

#mystic_hardcoreObject



89
90
91
# File 'lib/diablo_api/models/profiles/career.rb', line 89

def mystic_hardcore
  @data[:mystic_hardcore]
end

#mystic_seasonObject



101
102
103
# File 'lib/diablo_api/models/profiles/career.rb', line 101

def mystic_season
  @data[:mystic_season]
end

#paragon_levelObject



17
18
19
# File 'lib/diablo_api/models/profiles/career.rb', line 17

def paragon_level
  @data[:paragon_level]
end

#paragon_level_hardcoreObject



21
22
23
# File 'lib/diablo_api/models/profiles/career.rb', line 21

def paragon_level_hardcore
  @data[:paragon_level_hardcore]
end

#paragon_level_seasonObject



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_hardcoreObject



29
30
31
# File 'lib/diablo_api/models/profiles/career.rb', line 29

def paragon_level_season_hardcore
  @data[:paragon_level_season_hardcore]
end

#progressionObject



61
62
63
# File 'lib/diablo_api/models/profiles/career.rb', line 61

def progression
  @data[:progression]
end

#seasonal_profilesObject



105
106
107
# File 'lib/diablo_api/models/profiles/career.rb', line 105

def seasonal_profiles
  @data[:seasonal_profiles]
end

#time_playedObject



57
58
59
# File 'lib/diablo_api/models/profiles/career.rb', line 57

def time_played
  @data[:time_played]
end