Sha256: 4533f0e80c5be3bbc8975ce34af6e4d9398b939a4189e0a217a90acee3b71000
Contents?: true
Size: 774 Bytes
Versions: 13
Compression:
Stored size: 774 Bytes
Contents
# frozen_string_literal: true # typed: true module Stripe class StripeService # Initializes a new StripeService def initialize(requestor) @requestor = requestor end def request(method:, path:, base_address:, params: {}, opts: {}) @requestor.execute_request( method, path, base_address, params: params, opts: RequestOptions.extract_opts_from_hash(opts) ) end def request_stream(method:, path:, base_address:, params: {}, opts: {}, &read_body_chunk_block) @requestor.execute_request_stream( method, path, base_address, params: params, opts: RequestOptions.extract_opts_from_hash(opts), &read_body_chunk_block ) end end end
Version data entries
13 entries across 13 versions & 1 rubygems