lib/campaign_monitor/campaign.rb
# Convenience method for accessing or adding lists to a new (uncreated) campaign
# Calls GetLists behind the scenes if needed
#
# Example
#   @camp=@client.campaigns.first
#   @camp.lists.each do
#   
#   @camp=@client.new_campaign(attributes)
#   @camp.lists << @client.lists.first
#   @camp.Create
Convenience method for accessing or adding lists to a new (uncreated) campaign
Calls GetLists behind the scenes if needed




Convenience method for accessing or adding lists to a new ( uncreated ) campaign Calls GetLists behind the scenes if needed
def lists
      self.GetLists if @lists.nil? and id
      @lists||=[]
    end
def lists self . GetLists if @lists . nil? and id @lists ||= [ ] end
Convenience method for accessing or adding lists to a new (uncreated) campaign
Calls GetLists behind the scenes if needed
Convenience method for accessing or adding lists to a new ( uncreated ) campaign Calls GetLists behind the scenes if needed
# pull down the list of lists if we have an id