Module: FlowAccount::Request

Included in:
API
Defined in:
lib/flow_account/request.rb

Instance Method Summary collapse

Instance Method Details

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



16
17
18
# File 'lib/flow_account/request.rb', line 16

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

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



8
9
10
# File 'lib/flow_account/request.rb', line 8

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

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



4
5
6
# File 'lib/flow_account/request.rb', line 4

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

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



12
13
14
# File 'lib/flow_account/request.rb', line 12

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