Sha256: e5bad1ae555e3ba00b1224fbb6a502ec8792fd0690d4f60b2bed23a9b8864b2b
Contents?: true
Size: 665 Bytes
Versions: 2
Compression:
Stored size: 665 Bytes
Contents
require 'time' module Xolphin module Api module Responses class Note < Base def initialize(data) super(data) end def id @data["id"] end def contact @data["contact"] end def staff @data["staff"] end def date @data["date"] end def time @data["time"] end def message_body @data["message"] end def created_at Time.parse(@data["createdAt"]) end def end_customer @data['endCustomer'] end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xolphin-api-1.9.0 | lib/xolphin/api/responses/note.rb |
xolphin-api-1.8.0 | lib/xolphin/api/responses/note.rb |