class UsabillaApi::Models::Websites::Feedback::Item

Attributes

button_id[RW]
comment[RW]
custom[RW]
date[RW]
email[RW]
id[RW]
image[RW]
labels[RW]
location[RW]
nps[RW]
public_url[RW]
rating[RW]
tags[RW]
url[RW]
user_agent[RW]

Public Class Methods

new(args = {}) click to toggle source
# File lib/usabilla_api/models/websites/feedback/item.rb, line 8
def initialize(args = {})
  @id             = args['id']          || ''
  @user_agent     = args['userAgent']   || ''
  @comment        = args['comment']     || ''
  @location       = args['location']    || ''
  @date           = args['date']        || ''
  @custom         = args['custom']      || {}
  @email          = args['email']       || ''
  @image          = args['image']       || ''
  @labels         = args['labels']      || []
  @nps            = args['nps']         || nil
  @public_url     = args['publicUrl']   || []
  @rating         = args['rating']      || ''
  @button_id      = args['buttonId']    || nil
  @tags           = args['tags']        || []
  @url            = args['url']         || ''
end