Method: Nexus.get_mastery_by_id

Defined in:
lib/nexus/controller/static.rb

.get_mastery_by_id(mastery_id, masteryData = "all") ⇒ Object



38
39
40
41
# File 'lib/nexus/controller/static.rb', line 38

def self.get_mastery_by_id(mastery_id, masteryData = "all")
  url = ("#{@global_uri}#{@region}/#{VERSION_STATIC}/mastery/#{mastery_id}?masteryData=#{masteryData}&api_key=#{@api_key}")
  return Nexus::Mastery.new(retrieve_url get(url))
end