Module: Unchained::Client::Patcher
Defined Under Namespace
Classes: Alert, HeroContent
Instance Method Summary
collapse
Instance Method Details
#patcher_alerts(opts = {}) ⇒ Object
32
33
34
35
36
37
38
|
# 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 = {}) ⇒ Object
24
25
26
27
28
29
30
|
# 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
|