Sha256: bf163770383a0834c18a987beb4df1962ba8b566d41c015fbd5d578e4b9e6966
Contents?: true
Size: 343 Bytes
Versions: 9
Compression:
Stored size: 343 Bytes
Contents
module Redd module Objects class Thing # Things that can be refreshed with the current data. module Refreshable # Refresh the thing. def refresh! body = get("/api/info", id: fullname).body[:data][:children][0] deep_merge!(body[:data]) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems