Class: IfdTools::ContactRequest

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/ifd_tools/contact_request.rb

Instance Method Summary collapse

Instance Method Details

#display_nameObject



19
20
21
# File 'app/models/ifd_tools/contact_request.rb', line 19

def display_name
  to_s
end

#read!Object



23
24
25
# File 'app/models/ifd_tools/contact_request.rb', line 23

def read!
  update_attribute :read_status, true
end

#to_sObject



15
16
17
# File 'app/models/ifd_tools/contact_request.rb', line 15

def to_s
  "#{first_name} #{last_name}"
end