lib/octoparts/client.rb in octoparts-0.0.6 vs lib/octoparts/client.rb in octoparts-0.0.7

- old
+ new

@@ -88,10 +88,10 @@ stringify_params = model.deep_stringify_keys Model::AggregateRequest.new.extend(Representer::AggregateRequestRepresenter).from_hash(stringify_params) when Octoparts::Model::AggregateRequest model.extend(Representer::AggregateRequestRepresenter) else - raise Octopart::ArgumentError + raise Octoparts::ArgumentError end aggregate_request.to_json(camelize: true) end end end