Module: SmartCloud

Defined in:
lib/smart_cloud.rb,
lib/smart_cloud/ssh.rb,
lib/smart_cloud/base.rb,
lib/smart_cloud/boot.rb,
lib/smart_cloud/user.rb,
lib/smart_cloud/docker.rb,
lib/smart_cloud/engine.rb,
lib/smart_cloud/logger.rb,
lib/smart_cloud/machine.rb,
lib/smart_cloud/version.rb,
lib/smart_cloud/apps/app.rb,
lib/smart_cloud/apps/rails.rb,
lib/smart_cloud/buildpacker.rb,
lib/smart_cloud/credentials.rb,
lib/smart_cloud/gem_version.rb,
lib/smart_cloud/grids/redmine.rb,
lib/smart_cloud/grids/nextcloud.rb

Overview

The main SmartCloud Grids Minio driver

Defined Under Namespace

Modules: Apps, Logger, VERSION Classes: Base, Boot, Buildpacker, Credentials, Docker, Engine, Grids, Machine, SSH, User

Class Method Summary collapse

Class Method Details

.configObject



6
7
8
# File 'lib/smart_cloud.rb', line 6

def self.config
	@@config ||= OpenStruct.new
end

.credentialsObject



10
11
12
# File 'lib/smart_cloud.rb', line 10

def self.credentials
	@@credentials ||= OpenStruct.new(SmartCloud::Credentials.new.config)
end

.gem_versionObject

Returns the version of the currently loaded SmartCloud as a Gem::Version.



5
6
7
# File 'lib/smart_cloud/gem_version.rb', line 5

def self.gem_version
  Gem::Version.new VERSION::STRING
end

.versionObject

Returns the version of the currently loaded SmartCloud as a Gem::Version



7
8
9
# File 'lib/smart_cloud/version.rb', line 7

def self.version
	gem_version
end