Sha256: 274452d6453427627d2daa762e16e5e13fce68f603b2a7946665208ec445fa36
Contents?: true
Size: 559 Bytes
Versions: 5
Compression:
Stored size: 559 Bytes
Contents
module Halo module Halo5 class Profile < APIResponse def initialize(options = {}) @player = options.delete(:player) @endpoint = "/profile/h5/profiles/#{@player}" super(options) end def player_appearance(options = {}) get_data("#{@endpoint}/appearance", options) end def player_emblem_image(options = {}) get_data("#{@endpoint}/emblem", options) end def player_spartan_image(options = {}) get_data("#{@endpoint}/spartan", options) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems