Class: FreshBooks::Estimate

Inherits:
Base
  • Object
show all
Defined in:
lib/freshbooksrb.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

belongs_to, create, delete, get, has_many, #id, #initialize, list, map, #method_missing, update

Constructor Details

This class inherits a constructor from FreshBooks::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FreshBooks::Base

Class Method Details

.send_by_email(id) ⇒ Object



62
63
64
# File 'lib/freshbooksrb.rb', line 62

def self.send_by_email(id)
  call_api_with_id('sendByEmail', id)
end

Instance Method Details

#send_by_emailObject



58
59
60
# File 'lib/freshbooksrb.rb', line 58

def send_by_email
  self.class.send_by_email(invoice_id)
end