Class: Decidim::Core::StatisticType

Inherits:
Api::Types::BaseObject
  • Object
show all
Defined in:
lib/decidim/api/types/statistic_type.rb

Instance Method Summary collapse

Instance Method Details

#nameObject



11
12
13
# File 'lib/decidim/api/types/statistic_type.rb', line 11

def name
  object[0]
end

#valueObject



15
16
17
# File 'lib/decidim/api/types/statistic_type.rb', line 15

def value
  object[1]
end