Class: Undantag::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/undantag/configuration.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



4
5
6
# File 'lib/undantag/configuration.rb', line 4

def api_key
  @api_key
end

.github_repoObject

Returns the value of attribute github_repo.



4
5
6
# File 'lib/undantag/configuration.rb', line 4

def github_repo
  @github_repo
end

.github_userObject

Returns the value of attribute github_user.



4
5
6
# File 'lib/undantag/configuration.rb', line 4

def github_user
  @github_user
end

Class Method Details

.to_hashObject



5
6
7
# File 'lib/undantag/configuration.rb', line 5

def to_hash
  { api_key: api_key, github_user: github_user, github_repo: github_repo }
end