lib/createsend/list.rb
def segments
      response = get "segments"
      response.map{|item| Hashie::Mash.new(item)}
    end
def segments
      response = get "segments"
      response.map{|item| Hashie::Mash.new(item)}
    end
def segments response = get "segments" response . map { | item | Hashie :: Mash . new ( item ) } end
Gets the segments for this list.
Gets the segments for this list .