Class: VagrantPlugins::GithubKeyManager::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::GithubKeyManager::Config
- Defined in:
- lib/vagrant-github_key_manager/config.rb
Instance Attribute Summary collapse
-
#github_api_url ⇒ Object
Returns the value of attribute github_api_url.
-
#ssh_key_title ⇒ Object
Returns the value of attribute ssh_key_title.
Instance Method Summary collapse
-
#initialize(region_specific = false) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(region_specific = false) ⇒ Config
Returns a new instance of Config.
9 10 11 12 |
# File 'lib/vagrant-github_key_manager/config.rb', line 9 def initialize(region_specific=false) @github_api_url = 'https://api.github.com/user/keys' @ssh_key_title = 'vagrant provision key' end |
Instance Attribute Details
#github_api_url ⇒ Object
Returns the value of attribute github_api_url.
6 7 8 |
# File 'lib/vagrant-github_key_manager/config.rb', line 6 def github_api_url @github_api_url end |
#ssh_key_title ⇒ Object
Returns the value of attribute ssh_key_title.
7 8 9 |
# File 'lib/vagrant-github_key_manager/config.rb', line 7 def ssh_key_title @ssh_key_title end |