10 lines
126 B
Ruby
10 lines
126 B
Ruby
|
class ContactDrop < BaseDrop
|
||
|
def email
|
||
|
@obj.try(:email)
|
||
|
end
|
||
|
|
||
|
def phone_number
|
||
|
@obj.try(:phone_number)
|
||
|
end
|
||
|
end
|