Class: Gi::Api
- Inherits:
-
Object
- Object
- Gi::Api
- Defined in:
- lib/gi.rb
Instance Method Summary collapse
Instance Method Details
#base(suf) ⇒ Object
5 6 7 |
# File 'lib/gi.rb', line 5 def base(suf) "curl -L -s http://gitignore.io/api/#{suf}" end |
#list ⇒ Object
8 9 10 |
# File 'lib/gi.rb', line 8 def list base('list') end |