lib/john_stamos/pinner.rb in john_stamos-0.0.1 vs lib/john_stamos/pinner.rb in john_stamos-0.0.2
- old
+ new
@@ -52,10 +52,10 @@
embedded_pinner_data("location")
end
private
def page
- @page ||= @client.page_content(url)
+ @page ||= @client.page_content("/#{@username}/")
end
def embedded_pinner_json
embedded_script = page.search('script').select do |script|
script['src'].nil? && script.content.include?('Pc.startArgs')
\ No newline at end of file