Sha256: 4699968a82b64f8f68c13e32bcfc3e49ca05f192cb5808c979dcd4dffd21d337
Contents?: true
Size: 311 Bytes
Versions: 10
Compression:
Stored size: 311 Bytes
Contents
# frozen_string_literal: true require "open-uri" module Groundskeeper # A deployed website/application. class Website VERSION_PATH = "version.txt" attr_reader :uri def initialize(uri) @uri = uri end def version URI.parse("#{uri}/#{VERSION_PATH}").read end end end
Version data entries
10 entries across 10 versions & 1 rubygems