Class: MuffinMan::RequestHelpers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/muffin_man/request_helpers/base.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Base

Returns a new instance of Base.



11
# File 'lib/muffin_man/request_helpers/base.rb', line 11

def initialize(*args); end

Class Method Details

.json_body(*args) ⇒ Object



7
8
9
# File 'lib/muffin_man/request_helpers/base.rb', line 7

def self.json_body(*args)
  new(*args).json_body
end

Instance Method Details

#json_bodyObject



13
14
15
# File 'lib/muffin_man/request_helpers/base.rb', line 13

def json_body
  {}
end