Sha256: 6812285f4e1f9f603d3480c1e3fb3d32892048aeacf424f287d0b293ff8b773a

Contents?: true

Size: 556 Bytes

Versions: 1

Compression:

Stored size: 556 Bytes

Contents

module TheTradeDeskAds
  class ApiResult

    attr_accessor :results, :result_count, :total_filtered_count, :total_unfiltered_count

    def initialize( results: results,
                    result_count: result_count,
                    total_filtered_count: total_filtered_count,
                    total_unfiltered_count: total_unfiltered_count)
      @results = results || {}
      @result_count = result_count || 0
      @total_filtered_count = total_filtered_count || 0
      @total_unfiltered_count = total_unfiltered_count || 0
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
the_trade_desk_ads-0.0.1 lib/the_trade_desk_ads/api_result.rb