class Bnet::Diablo3::Skill < Bnet::BnetResource attr_accessor :name, :rune # Ags : # { # "skill" => { name: "", ... }, # "rune" => { name: "", ... } # } # # Returns: # # # def self.from_api(response) new(name: response['skill']['name'], rune: response['rune']['name']) end end