lib/parliament/builder/base_response_builder.rb in parliament-ruby-1.0.1 vs lib/parliament/builder/base_response_builder.rb in parliament-ruby-1.0.2
- old
+ new
@@ -1,10 +1,10 @@
module Parliament
module Builder
# Base response builder, allowing the user to return the body of an HTTPResponse.
# @since 0.7.5
class BaseResponseBuilder
- # Creates a new BaseReponseBuilder.
+ # Creates a new BaseResponseBuilder.
# @param [HTTPResponse] response an HTTP response.
# @param [Module] decorators a namespace which contains modules used to decorate the objects we receive. It is not used directly by the BaseResponseBuilder, but is there for API completeness.
def initialize(response:, decorators: nil)
@response = response
_ = decorators