Class: Moon::Response::JSON::Blank

Inherits:
Moon::Response::JSON show all
Defined in:
lib/moon/response/json/blank.rb

Overview

Moon::Response::JSON::Blank provides a simple response with an empty hash

Instance Attribute Summary

Attributes inherited from Moon::Response::JSON

#hash, #status

Instance Method Summary collapse

Methods inherited from Moon::Response::JSON

#body, #headers

Methods inherited from Base

#body, #headers, #status

Constructor Details

#initializeBlank

Returns a new instance of Blank.



5
6
7
# File 'lib/moon/response/json/blank.rb', line 5

def initialize
  super 200, { }
end