Class: Txbr::Config

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

Class Method Summary collapse

Class Method Details

.projectsObject



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

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

.transifex_api_passwordObject



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

def transifex_api_password
  raw_config[:transifex_api_password]
end

.transifex_api_usernameObject



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

def transifex_api_username
  raw_config[:transifex_api_username]
end