class Stockholmfilmfest::Client
Attributes
url[RW]
Public Class Methods
new(url)
click to toggle source
# File lib/stockholmfilmfest/client.rb, line 10 def initialize(url) @url = url end
Public Instance Methods
get()
click to toggle source
# File lib/stockholmfilmfest/client.rb, line 14 def get response = HTTParty.get(self.url).to_json end