Sha256: 9a583b9341eb4c1a98d4c7f7cbd431f98a0f9dd061aad2f8991216b275492635

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

module MarketBot
  module Play
    class Developer < MarketBot::Play::Chart
      def initialize(developer, options={})
        super(developer, nil, options)
      end

      def store_urls(options={})
        results = []
        num = 100

        url = "https://play.google.com/store/apps/developer?"
        url << "id=#{CGI.escape(@collection)}&"
        url << "start=0&"
        url << "gl=#{@country}&"
        url << "num=#{num}&"
        url << "hl=#{@lang}"

        results << url

        return results
      end

      def update(opts={})
        super(opts)
        @result.each { |r| r.delete(:rank) }

        self
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
market_bot-1.3.1 lib/market_bot/play/developer.rb