mhuggins/lol_client

View on GitHub
lib/lol_client/representers/player_representer.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'representable/json'

class LolClient
  class PlayerRepresenter < Representable::Decorator
    include Representable::JSON

    property :champion_id, as: :championId
    property :summoner_id, as: :summonerId
    property :team_id, as: :teamId
  end
end