Module: Stripe::APIOperations::Request::ClassMethods

Included in:
OAuth::OAuthOperations
Defined in:
lib/stripe/api_operations/request.rb

Instance Method Summary collapse

Instance Method Details

#execute_resource_request(method, url, base_address = :api, params = {}, opts = {}, usage = []) ⇒ Object



7
8
9
10
11
12
# File 'lib/stripe/api_operations/request.rb', line 7

def execute_resource_request(method, url, base_address = :api,
                             params = {}, opts = {}, usage = [])
  execute_resource_request_internal(
    :execute_request, method, url, base_address, params, opts, usage
  )
end

#execute_resource_request_stream(method, url, base_address = :api, params = {}, opts = {}, usage = [], &read_body_chunk_block) ⇒ Object



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/stripe/api_operations/request.rb', line 14

def execute_resource_request_stream(method, url, base_address = :api,
                                    params = {}, opts = {}, usage = [],
                                    &read_body_chunk_block)
  execute_resource_request_internal(
    :execute_request_stream,
    method,
    url,
    base_address,
    params,
    opts,
    usage,
    &read_body_chunk_block
  )
end