houdini/lib/fetch/fetch_coupon.rb

5 lines
No EOL
103 B
Ruby

module FetchCoupon
def self.page params
return params[:name].gsub('-','_') if params[:name]
end
end