Class: Neuron::Client::Pixel
- Includes:
- Base
- Defined in:
- lib/neuron-client/model/pixel.rb
Constant Summary collapse
- ATTRIBUTES =
[ :id, :ad_ids, # array of integers ]
Instance Method Summary collapse
Methods included from Base
#apply_attributes!, #destroy, #id=, included, #initialize, #new_record?, #save, #to_create_hash, #to_hash, #to_update_hash, #update_attributes, #valid?
Methods included from Base::ClassAndInstanceMethods
#all, #api=, #create, #create!, #find, #validate=
Instance Method Details
#ad_ids ⇒ Object
17 18 19 |
# File 'lib/neuron-client/model/pixel.rb', line 17 def ad_ids @ad_ids.nil? ? [] : @ad_ids end |
#attributes ⇒ Object
13 14 15 |
# File 'lib/neuron-client/model/pixel.rb', line 13 def attributes ATTRIBUTES end |