Sha256: 08f52881ff283a2084c7f6e17efdb702ef8d8d4fd2398bddbffc4d20ff299d91

Contents?: true

Size: 662 Bytes

Versions: 11

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=#{URI.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

11 entries across 11 versions & 1 rubygems

Version Path
market_bot-1.3.0 lib/market_bot/play/developer.rb
market_bot-1.2.0 lib/market_bot/play/developer.rb
market_bot-1.1.0 lib/market_bot/play/developer.rb
market_bot-1.0.7 lib/market_bot/play/developer.rb
market_bot-1.0.6 lib/market_bot/play/developer.rb
market_bot-1.0.5 lib/market_bot/play/developer.rb
market_bot-1.0.4 lib/market_bot/play/developer.rb
market_bot-1.0.3 lib/market_bot/play/developer.rb
market_bot-1.0.2 lib/market_bot/play/developer.rb
market_bot-1.0.1 lib/market_bot/play/developer.rb
market_bot-1.0.0 lib/market_bot/play/developer.rb