Sha256: fabffdc4df570ab6439b23bbe7a917eff9f932fd5f79b87c72aa8fe2cbae7a1c

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

require "net/http"
require "platina_world/fetchers/base"

module PlatinaWorld
  module Fetcher
    class Net < Base
      private

      def valid?
        true
      end

      def fetch_contents
        ::Net::HTTP.get(@uri)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
platina_world-0.1.5 lib/platina_world/fetchers/net.rb