lib/apitizer/connection/request.rb in apitizer-0.0.1 vs lib/apitizer/connection/request.rb in apitizer-0.0.2

- old
+ new

@@ -1,14 +1,14 @@ module Apitizer module Connection class Request extend Forwardable - attr_reader :action, :path, :parameters + attr_reader :method, :path, :parameters def_delegator :path, :address - def initialize(action:, path:, parameters: {}) - @action = action + def initialize(method:, path:, parameters: {}) + @method = method @path = path @parameters = parameters end end end