class Opera::AdMarvel::Impression

Attributes

random[RW]
user_id[RW]

Public Instance Methods

attributes_with_payload_keys() click to toggle source

Override to add random and user_id:

# File lib/opera/ad_marvel/models/impression.rb, line 16
def attributes_with_payload_keys
  super.merge(
    { "cb" => random, "uid" => user_id }.select { |_, value| !value.nil? }
  )
end