Sha256: 8bae81a5cb2e203405504ce28cc2a4d1496a2f2bd9d68ef3cad70bb6cccb815b

Contents?: true

Size: 774 Bytes

Versions: 2

Compression:

Stored size: 774 Bytes

Contents

require '3scale_toolbox/version'
require '3scale_toolbox/helper'
require '3scale_toolbox/error'
require '3scale_toolbox/configuration'
require '3scale_toolbox/remotes'
require '3scale_toolbox/3scale_client_factory'
require '3scale_toolbox/entities'
require '3scale_toolbox/tasks'
require '3scale_toolbox/base_command'
require '3scale_toolbox/commands'
require '3scale_toolbox/cli'

module ThreeScaleToolbox

  def self.load_plugins
    plugin_paths.each { |plugin_path| require plugin_path }
  end

  def self.plugin_paths
    Gem.find_files('3scale_toolbox_plugin')
  end

  def self.default_config_file
    # THREESCALE_CLI_CONFIG env var has priority over $HOME/.3scalerc.yaml file
    ENV['THREESCALE_CLI_CONFIG'] || File.join(Gem.user_home, '.3scalerc.yaml')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
3scale_toolbox-0.7.0 lib/3scale_toolbox.rb
3scale_toolbox-0.6.0 lib/3scale_toolbox.rb