lib/helio/api_operations/request.rb in helio-ruby-0.1.0 vs lib/helio/api_operations/request.rb in helio-ruby-0.2.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module Helio module APIOperations module Request module ClassMethods def request(method, url, params = {}, opts = {}) @@ -42,10 +44,10 @@ def self.included(base) base.extend(ClassMethods) end - protected + protected def request(method, url, params = {}, opts = {}) opts = @opts.merge(Util.normalize_opts(opts)) self.class.request(method, url, params, opts) end