Module: MadMimi::Request

Included in:
Audience, Mailer
Defined in:
lib/mad_mimi/request.rb

Overview

Defines HTTP request methods

Instance Method Summary collapse

Instance Method Details

#get(path, options = {}, raw = false) ⇒ Object



7
8
9
# File 'lib/mad_mimi/request.rb', line 7

def get(path, options={}, raw = false)
  request(:get, path, options, raw)
end

#post(path, options = {}, raw = false, ssl = false) ⇒ Object



11
12
13
# File 'lib/mad_mimi/request.rb', line 11

def post(path, options={}, raw = false, ssl = false)
  request(:post, path, options, raw, ssl)
end