Class: PulpRpmClient::RepositoryAddRemoveContent
- Inherits:
-
Object
- Object
- PulpRpmClient::RepositoryAddRemoveContent
- Defined in:
- lib/monkeys/remove_overwrite_parameter.rb
Instance Method Summary collapse
-
#original_to_hash ⇒ Object
Override to_hash to exclude ‘overwrite’ parameter.
- #to_hash ⇒ Object
Instance Method Details
#original_to_hash ⇒ Object
Override to_hash to exclude ‘overwrite’ parameter
10 |
# File 'lib/monkeys/remove_overwrite_parameter.rb', line 10 alias_method :original_to_hash, :to_hash |
#to_hash ⇒ Object
12 13 14 15 16 17 |
# File 'lib/monkeys/remove_overwrite_parameter.rb', line 12 def to_hash hash = original_to_hash hash.delete(:overwrite) hash.delete('overwrite') hash end |