Sha256: 6d536d60b1c681baf796b13e15d8740669e257a14a26cfcc6d84ed14ac7e87bd
Contents?: true
Size: 587 Bytes
Versions: 64
Compression:
Stored size: 587 Bytes
Contents
require 'contracts' require 'faraday' require_relative 'config' module Cloudstrap class SeedProperties include ::Contracts::Core include ::Contracts::Builtin Contract None => String def source config.bootstrap_properties_seed_url end Contract None => ::Faraday::Response def connection @connection ||= ::Faraday.get source end Contract None => Maybe[String] def contents @contents ||= connection.body if connection.success? end Contract None => Config def config @config ||= Config.new end end end
Version data entries
64 entries across 64 versions & 1 rubygems