Class: Safrano::Batch::DisabledHandler

Inherits:
HandlerBase show all
Defined in:
lib/odata/batch.rb

Overview

$batch disabled Handler

Constant Summary

Constants inherited from HandlerBase

HandlerBase::TREND

Instance Method Summary collapse

Methods inherited from HandlerBase

#allowed_transitions, #transition_end

Methods included from Transitions::GetNextTrans::ForJustTransitionEnd

#get_next_transresult

Instance Method Details

#odata_get(_req) ⇒ Object



124
125
126
# File 'lib/odata/batch.rb', line 124

def odata_get(_req)
  [404, EMPTY_HASH, '$batch is not enabled ']
end

#odata_post(_req) ⇒ Object



120
121
122
# File 'lib/odata/batch.rb', line 120

def odata_post(_req)
  [404, EMPTY_HASH, '$batch is not enabled ']
end