lib/learn_web/client.rb in learn-web-1.4.2 vs lib/learn_web/client.rb in learn-web-1.5.0
- old
+ new
@@ -4,10 +4,11 @@
require 'learn_web/client/pull_request'
require 'learn_web/client/lesson'
require 'learn_web/client/validate_repo'
require 'learn_web/client/fork'
require 'learn_web/client/environment'
+require 'learn_web/client/event'
module LearnWeb
class Client
attr_reader :token, :conn, :silent_output
@@ -20,9 +21,10 @@
include LearnWeb::Client::Lesson
include LearnWeb::Client::ValidateRepo
include LearnWeb::Client::Fork
include LearnWeb::Client::User
include LearnWeb::Client::Environment
+ include LearnWeb::Client::Event
def initialize(token:, silent_output: false)
@token = token
@silent_output = silent_output
@conn = Faraday.new(url: LEARN_URL) do |faraday|