module Newspeakie
Constants
- VERSION
Public Class Methods
get_quack(relative_path)
click to toggle source
# File lib/newspeakie.rb, line 6 def self.get_quack(relative_path) uri = URI(newspeakie_url + "/" + relative_path + ".txt") Net::HTTP.get(uri) # => String end
newspeakie_url()
click to toggle source
# File lib/newspeakie.rb, line 11 def self.newspeakie_url "http://newspeakie.herokuapp.com" end