Class: Txbr::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/txbr/config.rb

Class Method Summary collapse

Class Method Details

.projectsObject



7
8
9
10
11
# File 'lib/txbr/config.rb', line 7

def projects
  @projects ||= raw_config[:projects].map do |conf|
    Project.new(conf)
  end
end

.transifex_api_passwordObject



17
18
19
# File 'lib/txbr/config.rb', line 17

def transifex_api_password
  raw_config[:transifex_api_password]
end

.transifex_api_usernameObject



13
14
15
# File 'lib/txbr/config.rb', line 13

def transifex_api_username
  raw_config[:transifex_api_username]
end