Method: Puppet::Dashboard::Classifier#create
- Defined in:
- lib/puppet/dashboard/classifier.rb
#create(type, action, data) ⇒ Object
190 191 192 193 194 195 196 197 198 199 |
# File 'lib/puppet/dashboard/classifier.rb', line 190 def create(type, action, data) response = Puppet::Dashboard::Classifier.http_request( @http_connection, "/#{type}.json", , action, '201', data ) end |