lib/poms/api/request.rb in poms-2.6.0 vs lib/poms/api/request.rb in poms-3.0.0

- old
+ new

@@ -19,19 +19,19 @@ validate! freeze end def merge(new_attributes) - self.class.new(attributes.merge(new_attributes)) + self.class.new(**attributes.merge(new_attributes)) end def attributes { - method: method, - uri: uri, - body: body, - headers: headers, - credentials: credentials + method:, + uri:, + body:, + headers:, + credentials: } end def get? @method == :get