Class: Contactually::Models::Task

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/contactually/models/task.rb

Instance Method Summary collapse

Methods included from Model

#attributes, included, #initialize, #inspect

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Contactually::Models::Model

Instance Method Details

#contactObject



16
17
18
19
20
21
22
# File 'lib/contactually/models/task.rb', line 16

def contact
  @contact ||= begin
    if contact_included?
      Contact.new(extra_data[CONTACT_KEY])
    end
  end
end