app/models/shipit/github_status.rb in shipit-engine-0.28.0 vs app/models/shipit/github_status.rb in shipit-engine-0.28.1
- old
+ new
@@ -6,10 +6,10 @@
def status
Rails.cache.read(CACHE_KEY)
end
def refresh_status
- Rails.cache.write(CACHE_KEY, Shipit.github.api.github_status)
+ Rails.cache.write(CACHE_KEY, Shipit.github.api_status)
rescue Faraday::Error, Octokit::ServerError
end
end
end
end