Sha256: 2f96ac1c352781d7ef3a245c291885481510831a1a8e201f9eb984f53b44cdf5

Contents?: true

Size: 312 Bytes

Versions: 1

Compression:

Stored size: 312 Bytes

Contents

module Lolxin
  class ThirdPartyCode < Api
    attr_accessor :endpoint

    def initialize(options = {})
      super
      @endpoint = "platform/%{version}" % {version: @version}
    end

    def by_summoner(summoner_id)
      url = "#{endpoint}/by-summoner/#{summoner_id}"
      conn.get(url)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lolxin-0.13.0 lib/lolxin/api/third_party_code.rb