Module: MarketplaceKit

Defined in:
lib/marketplace_kit.rb,
lib/marketplace_kit/version.rb,
lib/marketplace_kit/commands/pull.rb,
lib/marketplace_kit/commands/sync.rb,
lib/marketplace_kit/commands/deploy.rb,
lib/marketplace_kit/services/config.rb,
lib/marketplace_kit/services/logger.rb,
lib/marketplace_kit/errors/api_error.rb,
lib/marketplace_kit/services/loggable.rb,
lib/marketplace_kit/command_dispatcher.rb,
lib/marketplace_kit/services/api_driver.rb,
lib/marketplace_kit/services/api_gateway.rb,
lib/marketplace_kit/services/args_parser.rb,
lib/marketplace_kit/commands/base_command.rb,
lib/marketplace_kit/errors/marketplace_error.rb,
lib/marketplace_kit/services/user_authentication.rb

Defined Under Namespace

Modules: Commands, Errors, Services Classes: CommandDispatcher

Constant Summary collapse

MARKETPLACE_BUILDER_FOLDER =
'marketplace_builder'.freeze
VERSION =
'0.2.0'.freeze

Class Method Summary collapse

Class Method Details

.builder_folderObject



31
32
33
# File 'lib/marketplace_kit.rb', line 31

def self.builder_folder
  "#{Dir.getwd}/#{MARKETPLACE_BUILDER_FOLDER}/"
end

.configObject



35
36
37
# File 'lib/marketplace_kit.rb', line 35

def self.config
  @config ||= Services::Config.new
end

.loggerObject



39
40
41
# File 'lib/marketplace_kit.rb', line 39

def self.logger
  @logger ||= Services::Logger.new
end

.rootObject



27
28
29
# File 'lib/marketplace_kit.rb', line 27

def self.root
  File.dirname __dir__
end