module Unchained::Client::Patcher

Public Instance Methods

patcher_alerts(opts={}) click to toggle source
# File lib/unchained/client/patcher.rb, line 32
def patcher_alerts(opts={})
  @cache[:patcher_alerts] ||= get_resources(
    "#{base_url}/patcheralerts",
    Alert,
    opts,
  )
end
patcher_hero_contents(opts={}) click to toggle source
# File lib/unchained/client/patcher.rb, line 24
def patcher_hero_contents(opts={})
  @cache[:patcher_hero_contents] ||= get_resources(
    "#{base_url}/patcherherocontent",
    HeroContent,
    opts,
  )
end