Sha256: be6a9c786807aeefd8be460da47a56bfab7db728b890c176aa42bb47b07a3794

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

module Covetous
  module Profile
    class Career < Covetous::Shen
      def initialize(battle_tag)
        @url = "#{Covetous::Profile::BASE_URL}/#{battle_tag}/"
        super
      end

      def hero_names
        heroes.map{ |hero| hero['name'] }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
covetous-0.0.1 lib/covetous/profile/career.rb