Module: Circonus::Actions::InstanceMethods::Create

Includes:
Save
Defined in:
lib/circonus/models/actions.rb

Instance Method Summary collapse

Methods included from Save

#new_record?, #save

Instance Method Details

#createObject



60
61
62
63
# File 'lib/circonus/models/actions.rb', line 60

def create
  data = client.post(URI.escape(path), filtered_attributes)
  self.class.new(JSON.parse(data))
end