Skip to content

Commit

Permalink
Remove unused variable from Model::Http#custom method
Browse files Browse the repository at this point in the history
  • Loading branch information
vaihtovirta committed Oct 13, 2019
1 parent bfcd4d3 commit 76f1b7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/her/model/http.rb
Expand Up @@ -97,7 +97,6 @@ def #{method}_resource(path, params={})
def custom_#{method}(*paths)
metaclass = (class << self; self; end)
opts = paths.last.is_a?(Hash) ? paths.pop : Hash.new
paths.each do |path|
metaclass.send(:define_method, path) do |*params|
Expand Down

0 comments on commit 76f1b7b

Please sign in to comment.