Module: Stripe::APIOperations::Search

Extended by:
Gem::Deprecate
Included in:
Charge, Customer, Invoice, PaymentIntent, Price, Product, SearchResultObject, Subscription
Defined in:
lib/stripe/api_operations/search.rb

Overview

The _search method via API Operations is deprecated. Please use the search method from within the resource instead.

Instance Method Summary collapse

Instance Method Details

#_search(search_url, filters = {}, opts = {}) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/stripe/api_operations/search.rb', line 8

def _search(search_url, filters = {}, opts = {})
  request_stripe_object(
    method: :get,
    path: search_url,
    params: filters,
    opts: opts
  )
end