Class: Netfira::WebConnect::RackApp::Action::Version8::Records

Inherits:
Netfira::WebConnect::RackApp::Action show all
Defined in:
lib/netfira/web_connect/rack_app/actions/version_8/records.rb

Instance Attribute Summary

Attributes inherited from Netfira::WebConnect::RackApp::Action

#env, #headers, #input, #path, #query_string, #shop, #timeout, #verb

Instance Method Summary collapse

Methods inherited from Netfira::WebConnect::RackApp::Action

action_classes, #class_for_record_type, #class_for_relation_type, create, #dispatch_event, #header, #import_env, #initialize, latest_version, #send_file

Constructor Details

This class inherits a constructor from Netfira::WebConnect::RackApp::Action

Instance Method Details

#callObject



6
7
8
9
10
11
# File 'lib/netfira/web_connect/rack_app/actions/version_8/records.rb', line 6

def call
  case verb
    when :delete then purge!
    else raise MethodNotAllowed
  end
end