Class: VagrantPlugins::GithubKeyManager::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-github_key_manager/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_urlObject

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_titleObject

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