Class: CurdBee::Estimate
- Includes:
- Invoiceable
- Defined in:
- lib/curdbee/estimate.rb
Instance Method Summary collapse
Methods included from Invoiceable
#close, #deliver, #duplicate, #permalink, #reopen
Methods inherited from Base
#create, #delete, list, send_request, show, #update
Instance Method Details
#convert ⇒ Object
8 9 10 11 |
# File 'lib/curdbee/estimate.rb', line 8 def convert response = self.class.send_request(:post, "/#{self.class.resource}/#{self[:id]}/convert") self.class.new(response["invoice"]) end |