Class: Capricorn::Apps::Engines
- Defined in:
- lib/capricorn/apps/engines.rb
Instance Method Summary collapse
Methods inherited from Thor
Instance Method Details
#install(domain, name) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/capricorn/apps/engines.rb', line 9 def install(domain, name) desc = { :version => [:version] } desc[:lib] = [:lib] if [:lib] desc[:source] = [:source] if [:source] Capricorn.client([:token]).install_engine(domain, name, desc) end |