mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-15 00:01:08 -05:00
Add comment on retrieve on how to pass parameters (#1676)
This commit is contained in:
parent
71858a8f76
commit
8330a2bfa5
@ -111,6 +111,9 @@ module Stripe
|
||||
)
|
||||
end
|
||||
|
||||
# Retrieve by passing id like `retrieve(id)`
|
||||
# If passing parameters, pass a single map with parameters and the `id` as well.
|
||||
# For example: retrieve({id: some_id, some_param: some_param_value})
|
||||
def self.retrieve(id, opts = {})
|
||||
if name.include?("Stripe::V2")
|
||||
raise NotImplementedError,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user