Class: AdGear::Publisher
- Defined in:
- lib/ad_gear/publisher.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
3 4 5 |
# File 'lib/ad_gear/publisher.rb', line 3 def active? state == "active" end |