Sha256: d3438ed9fa7d135b721b87ef1c125d7be1ad1bc69eb5c0c0b8d4e455c8021f65

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

module AffiliateWindow::Clients

  class Category

    include AffiliateWindow::Helpers::Account
    include AffiliateWindow::Helpers::Csv

    URL_TEMPLATE = 'http://datafeeds.productserve.com/datafeed_category.php?user=#{user}&password=#{datafeed_password}&format=#{format}&compression=#{compression_parameter}'
    
    def initialize(account = nil)
      set_account(account)
    end

    def url
      @url ||= eval(%Q|"#{URL_TEMPLATE}"|)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
affiliate-window-0.2.1.pre1 lib/affiliate-window/clients/category.rb