Skip to content

Commit

Permalink
Merge pull request #90 from erran/fix-no-method-error-in-scan_templat…
Browse files Browse the repository at this point in the history
…e-delete

Use the #id reader instead of the nil @id variable
  • Loading branch information
mdaines-r7 committed Nov 5, 2014
2 parents 50b6ded + 8d9ab66 commit 8154199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nexpose/scan_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def self.copy(nsc, id)
# @param [Connection] nsc API connection to a Nexpose console.
#
def delete(nsc)
nsc.delete_scan_template(@id)
nsc.delete_scan_template(id)
end
end
end

0 comments on commit 8154199

Please sign in to comment.