class QuestionproRails::SurveyResponseCount

Attributes

complete_count[R]
id[R]
name[R]
overall_complete_count[R]
overall_started_count[R]
overall_terminated_count[R]
overall_viewed_count[R]
partial_count[R]
started_count[R]
status[R]
terminated_count[R]

Public Class Methods

new(attributes) click to toggle source
# File lib/questionpro_rails/survey_response_count.rb, line 8
def initialize (attributes)
  @id                       = attributes['id']
  @name                     = attributes['name']
  @partial_count            = attributes['partialCount']
  @overall_viewed_count     = attributes['overallViewedCount']
  @overall_complete_count   = attributes['overallCompleteCount']
  @overall_terminated_count = attributes['overallTerminatedCount']
  @terminated_count         = attributes['terminatedCount']
  @overall_started_count    = attributes['overallStartedCount']
  @complete_count           = attributes['completeCount']
  @started_count            = attributes['startedCount']
  @status                   = attributes['status']
end