class SuperLanding::API::Response::StatisticItems

Constants

Item

Attributes

items[RW]

Public Class Methods

new(*) click to toggle source
Calls superclass method SuperLanding::API::Response::Base::new
# File lib/super_landing/api/response/statistic_items.rb, line 14
def initialize(*)
  super
  @items = auth? ? data.map { |item| Item.new(item.values) } : []
end