Sha256: 0343b73e26abe5fc95f489391eeff350d9cbe72f7e1b4abe8d4bfd7121630d6c

Contents?: true

Size: 245 Bytes

Versions: 4

Compression:

Stored size: 245 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
require 'polyphony'
require 'httparty'

timer = spin { throttled_loop(100) { 
  STDOUT << '.'
} }

res = HTTParty.get('http://worldtimeapi.org/api/timezone/Europe/Paris')
puts res
timer.stop

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
polyphony-0.27 examples/io/xx-httparty.rb
polyphony-0.26 examples/io/xx-httparty.rb
polyphony-0.25 examples/io/xx-httparty.rb
polyphony-0.24 examples/io/xx-httparty.rb