mariozig/john_stamos

View on GitHub
lib/john_stamos.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'faraday'
require 'nokogiri'
require 'json'
require 'launchy'

require 'john_stamos/version'
require 'john_stamos/client'
require 'john_stamos/pin_search'
require 'john_stamos/pin'
require 'john_stamos/pinner'
require 'john_stamos/extraction_helper'

module JohnStamos
  class MissingSearchText < Exception; end
  class MissingNextBookmark < Exception; end

  Faraday.default_adapter = :net_http

  private
    def self.uncle_jesse
      Launchy.open('http://www.youtube.com/watch?v=bLqAqIj8Rdc')
    end
end