Sha256: 343e71b2f0e4825193fa13c2e5905fda9b8055d34b0144196bf6b2f6a7f73d6a
Contents?: true
Size: 528 Bytes
Versions: 1
Compression:
Stored size: 528 Bytes
Contents
# main point require 'services/string_builder' require 'services/requester' class Kilya # It's my first simple gem # # Example: # >> Kilya.reverse("abcd") # => "dcba" # >> Kilya.request("http://example.com") # =><HTML><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\"> ... # Arguments: # line: (String) class << self include Services::StringBuilder def request(path) requester = Services::Requester.new requester.request(url: path) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kilya-0.0.7 | lib/kilya.rb |