Class: Decidim::Core::StatisticType

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

Instance Method Summary collapse

Instance Method Details

#nameObject


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

def name
  object[0]
end

#valueObject


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

def value
  object[1]
end