class Xolphin::Api::Responses::Note
Public Class Methods
new(data)
click to toggle source
Calls superclass method
Xolphin::Api::Responses::Base::new
# File lib/xolphin/api/responses/note.rb, line 7 def initialize(data) super(data) end
Public Instance Methods
contact()
click to toggle source
# File lib/xolphin/api/responses/note.rb, line 11 def contact @data["contact"] end
created_at()
click to toggle source
# File lib/xolphin/api/responses/note.rb, line 31 def created_at Time.parse(@data["createdAt"]) end
date()
click to toggle source
# File lib/xolphin/api/responses/note.rb, line 19 def date @data["date"] end
message_body()
click to toggle source
# File lib/xolphin/api/responses/note.rb, line 27 def message_body @data["message"] end
staff()
click to toggle source
# File lib/xolphin/api/responses/note.rb, line 15 def staff @data["staff"] end
time()
click to toggle source
# File lib/xolphin/api/responses/note.rb, line 23 def time @data["time"] end