Module: Easy::Api::BlockWrapper

Defined in:
lib/easy/api/block_wrapper.rb

Overview

Include this module in all API controllers to get consistent responses

Defined Under Namespace

Modules: InstanceMethods Classes: Wrapper

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



13
14
15
# File 'lib/easy/api/block_wrapper.rb', line 13

def self.included(base)
  base.send :include, InstanceMethods
end