lib/conjur/api/hosts.rb in conjur-api-4.4.1 vs lib/conjur/api/hosts.rb in conjur-api-4.6.0
- old
+ new
@@ -35,10 +35,10 @@
body = response.body
[ mime_type, body ]
end
end
- def create_host options
+ def create_host options = {}
standard_create Conjur::Core::API.host, :host, nil, options
end
def host id
standard_show Conjur::Core::API.host, :host, id
\ No newline at end of file