Refactored method to accept parameters via hash or block
Added #edit_offer #delete_offer