Class: AWeber::Resources::Campaign
- Inherits:
-
AWeber::Resource
- Object
- AWeber::Resource
- AWeber::Resources::Campaign
- Defined in:
- lib/aweber/resources/campaign.rb
Instance Attribute Summary
Attributes inherited from AWeber::Resource
Instance Method Summary collapse
Methods inherited from AWeber::Resource
#<=>, alias_attribute, api_attr, basepath, #delete, has_many, has_one, #initialize, #inspect, #path, #save, #uri, #writable_attrs
Constructor Details
This class inherits a constructor from AWeber::Resource
Instance Method Details
#is_broadcast? ⇒ Boolean
40 41 42 |
# File 'lib/aweber/resources/campaign.rb', line 40 def is_broadcast? campaign_type == "b" end |
#is_followup? ⇒ Boolean
36 37 38 |
# File 'lib/aweber/resources/campaign.rb', line 36 def is_followup? campaign_type == "f" end |