Method: ShopifyAPI::Webhook.all

Defined in:
lib/shopify_api/rest/resources/2021_07/webhook.rb,
lib/shopify_api/rest/resources/2021_10/webhook.rb,
lib/shopify_api/rest/resources/2022_01/webhook.rb,
lib/shopify_api/rest/resources/2022_04/webhook.rb

.all(address: nil, created_at_max: nil, created_at_min: nil, fields: nil, limit: nil, since_id: nil, topic: nil, updated_at_min: nil, updated_at_max: nil, session: ShopifyAPI::Context.active_session, **kwargs) ⇒ Object



114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# File 'lib/shopify_api/rest/resources/2021_07/webhook.rb', line 114

def all(
  address: nil,
  created_at_max: nil,
  created_at_min: nil,
  fields: nil,
  limit: nil,
  since_id: nil,
  topic: nil,
  updated_at_min: nil,
  updated_at_max: nil,
  session: ShopifyAPI::Context.active_session,
  **kwargs
)
  response = base_find(
    session: session,
    ids: {},
    params: {address: address, created_at_max: created_at_max, created_at_min: created_at_min, fields: fields, limit: limit, since_id: since_id, topic: topic, updated_at_min: updated_at_min, updated_at_max: updated_at_max}.merge(kwargs).compact,
  )

  T.cast(response, T::Array[Webhook])
end