lib/ur/request.rb in ur-0.1.1 vs lib/ur/request.rb in ur-0.2.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
require 'ur' unless Object.const_defined?(:Ur)
-class Ur
- class Request
+module Ur
+ module Request
include RequestAndResponse
include SubUr
def addressable_uri
uri ? Addressable::URI.parse(uri) : nil