Module: ConstructorIORails::InstanceMethods

Defined in:
lib/constructorio-rails.rb

Instance Method Summary collapse

Instance Method Details

#constructorio_add_record(value, metadata = {}, autocomplete_key, autocomplete_section) ⇒ Object



80
81
82
# File 'lib/constructorio-rails.rb', line 80

def constructorio_add_record(value,  = {}, autocomplete_key, autocomplete_section)
  constructorio_call_api("post", value, , autocomplete_key, autocomplete_section)
end

#constructorio_delete_record(value, metadata = {}, autocomplete_key, autocomplete_section) ⇒ Object



84
85
86
# File 'lib/constructorio-rails.rb', line 84

def constructorio_delete_record(value,  = {}, autocomplete_key, autocomplete_section)
  constructorio_call_api("delete", value, , autocomplete_key, autocomplete_section)
end