Class: WordPressTools::Configuration
- Inherits:
-
Object
- Object
- WordPressTools::Configuration
- Defined in:
- lib/wordpress_tools/config.rb
Constant Summary collapse
- DEFAULT_CONFIG =
{ wp_cli_download_url: "https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar", wp_cli_path: "/usr/local/bin/wp", wp_cli_config_path: "~/.wp-cli/config.yml", wp_server_download_url: "https://github.com/wp-cli/server-command/archive/master.zip", wp_server_directory: "~/.wp-cli/commands/server", admin_user: "admin", admin_email: "[email protected]", admin_password: "password", db_user: "root", db_password: "", site_url: "http://localhost:8080", locale: "en_US" }.freeze
Class Method Summary collapse
Class Method Details
.for(key) ⇒ Object
19 20 21 |
# File 'lib/wordpress_tools/config.rb', line 19 def self.for(key) DEFAULT_CONFIG[key] end |