I would simplify
```ruby
output[:response] = ::Katello::Resources::Candlepin::Consumer.
    create(*input.values_at(:cp_environment_id, :organization_label, :name,
                            :cp_type, :facts, :installed_products, :autoheal,
                            :release_ver, :service_level),
           "",
           input[:capabilities])
```