lib/pwush/request.rb in pwush-0.0.0 vs lib/pwush/request.rb in pwush-0.1.0
- old
+ new
@@ -14,13 +14,9 @@
end
private
def build_body(payload)
- wrap_request payload.merge(auth: @auth, application: @app)
- end
-
- def wrap_request(request)
- { request: request }
+ { request: payload.merge(auth: @auth, application: @app) }
end
end
end