Method: Cline::Collectors::Github#initialize

Defined in:
lib/cline/collectors/github.rb

#initialize(name) ⇒ Github

Returns a new instance of Github.



23
24
25
26
27
28
# File 'lib/cline/collectors/github.rb', line 23

def initialize(name)
  require 'open-uri'
  require 'uri'

  @api_url = URI.parse("https://api.github.com/users/#{name}/received_events")
end