lib/createsend/segment.rb
def subscribers(date="", page=1, page_size=1000, order_field="email",
      order_direction="asc", include_tracking_preference=false)
      options = { :query => {
        :date => date,
        :page => page,
        :pagesize => page_size,
        :orderfield => order_field,
        :orderdirection => order_direction,
        :includetrackingpreference => include_tracking_preference } }
      response = get "active", options
      Hashie::Mash.new(response)
    end
def subscribers(date="", page=1, page_size=1000, order_field="email",
      order_direction="asc", include_tracking_preference=false)
      options = { :query => {
        :date => date,
        :page => page,
        :pagesize => page_size,
        :orderfield => order_field,
        :orderdirection => order_direction,
        :includetrackingpreference => include_tracking_preference } }
      response = get "active", options
      Hashie::Mash.new(response)
    end
def subscribers ( date = "" , page = 1 , page_size = 1000 , order_field = "email" , order_direction = "asc" , include_tracking_preference = false ) options = { :query => { :date => date , :page => page , :pagesize => page_size , :orderfield => order_field , :orderdirection => order_direction , :includetrackingpreference => include_tracking_preference } } response = get "active" , options Hashie :: Mash . new ( response ) end
Gets the active subscribers in this segment.
Gets the active subscribers in this segment .