Class: Daylite::Task

Inherits:
Base show all
Defined in:
app/models/daylite/task.rb

Instance Method Summary collapse

Methods inherited from Base

#method_missing, #readonly?

Methods inherited from ActiveRecord::Base

openbase_connection

Dynamic Method Handling

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

Instance Method Details

#organizationObject



10
11
12
# File 'app/models/daylite/task.rb', line 10

def organization
  organizations[0]
end

#to_sObject



14
15
16
# File 'app/models/daylite/task.rb', line 14

def to_s
  "#<Daylite::Task:#{title}>"
end