Class: AdGear::AdUnit
- Defined in:
- lib/ad_gear/ad_unit.rb
Instance Method Summary collapse
Methods inherited from Base
belongs_to, belongs_to_associations, #encode, has_many, has_many_collections, ignorable_attributes, #initialize, #to_xml
Constructor Details
This class inherits a constructor from AdGear::Base
Instance Method Details
#active? ⇒ Boolean
9 10 11 |
# File 'lib/ad_gear/ad_unit.rb', line 9 def active? state == "active" end |
#deleted? ⇒ Boolean
13 14 15 |
# File 'lib/ad_gear/ad_unit.rb', line 13 def deleted? state == "deleted" end |