Class: Configuration
- Inherits:
-
Object
- Object
- Configuration
- Defined in:
- lib/merrow/configuration.rb
Constant Summary collapse
- FILENAME =
'.merrow.yml'
Instance Method Summary collapse
Instance Method Details
#access_token ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/merrow/configuration.rb', line 9 def access_token if !data['access_token'] data['access_token'] = create_access_token save(data) end data['access_token'] end |
#repos ⇒ Object
17 18 19 |
# File 'lib/merrow/configuration.rb', line 17 def repos data["repos"] || data[:repos] || [] end |