Class: ModeratorController::VoteSummary

Inherits:
Struct
  • Object
show all
Defined in:
app/controllers/moderator_controller.rb

Instance Attribute Summary collapse

Instance Attribute Details

#breakdownObject

Returns the value of attribute breakdown

Returns:

  • (Object)

    the current value of breakdown



52
53
54
# File 'app/controllers/moderator_controller.rb', line 52

def breakdown
  @breakdown
end

#totalObject

Returns the value of attribute total

Returns:

  • (Object)

    the current value of total



52
53
54
# File 'app/controllers/moderator_controller.rb', line 52

def total
  @total
end

#typesObject

Returns the value of attribute types

Returns:

  • (Object)

    the current value of types



52
53
54
# File 'app/controllers/moderator_controller.rb', line 52

def types
  @types
end