Sha256: 57715baa2744120faaaf804b0a451267abe5c1adfb03ccd613982048627e3b0d

Contents?: true

Size: 320 Bytes

Versions: 15

Compression:

Stored size: 320 Bytes

Contents

module Neuron
  module Client
    class Pixel
      include Base

      ATTRIBUTES = [
        :id,
        :ad_ids,     # array of integers
      ]

      attr_accessor *ATTRIBUTES
      
      def attributes
        ATTRIBUTES
      end

      def ad_ids
        @ad_ids.nil? ? [] : @ad_ids
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
neuron-client-0.6.0 lib/neuron-client/model/pixel.rb
neuron-client-0.5.3 lib/neuron-client/model/pixel.rb
neuron-client-0.5.2 lib/neuron-client/model/pixel.rb
neuron-client-0.5.1 lib/neuron-client/model/pixel.rb
neuron-client-0.5.0 lib/neuron-client/model/pixel.rb
neuron-client-0.4.8 lib/neuron-client/model/pixel.rb
neuron-client-0.4.7 lib/neuron-client/model/pixel.rb
neuron-client-0.4.6 lib/neuron-client/model/pixel.rb
neuron-client-0.4.5 lib/neuron-client/model/pixel.rb
neuron-client-0.4.4 lib/neuron-client/model/pixel.rb
neuron-client-0.4.3 lib/neuron-client/model/pixel.rb
neuron-client-0.4.2 lib/neuron-client/model/pixel.rb
neuron-client-0.4.1 lib/neuron-client/model/pixel.rb
neuron-client-0.4.0 lib/neuron-client/model/pixel.rb
neuron-client-0.3.0 lib/neuron-client/model/pixel.rb