Class: QuicknodeSdk::Webhooks

Inherits:
NativeDelegator show all
Defined in:
lib/quicknode_sdk/clients/webhooks.rb,
sig/quicknode_sdk.rbs

Instance Method Summary collapse

Methods inherited from NativeDelegator

#method_missing, #respond_to_missing?

Constructor Details

#initialize ⇒ Webhooks

Returns a new instance of Webhooks.

Parameters:

  • native (Object)


177
# File 'sig/quicknode_sdk.rbs', line 177

def initialize: (untyped native) -> void

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class QuicknodeSdk::NativeDelegator

Instance Method Details

#activate_webhook ⇒ void

This method returns an undefined value.

Parameters:

  • id: (String)
  • start_from: (String)


185
# File 'sig/quicknode_sdk.rbs', line 185

def activate_webhook: (id: String, start_from: String) -> void

#create_webhook_from_template ⇒ Object

Parameters:

  • name: (String)
  • network: (String)
  • destination_attributes_json: (String)
  • template_args_json: (String)
  • notification_email: (String)

Returns:

  • (Object)


187
# File 'sig/quicknode_sdk.rbs', line 187

def create_webhook_from_template: (name: String, network: String, destination_attributes_json: String, template_args_json: String, ?notification_email: String) -> untyped

#delete_all_webhooks ⇒ void

This method returns an undefined value.



180
# File 'sig/quicknode_sdk.rbs', line 180

def delete_all_webhooks: () -> void

#delete_webhook ⇒ void

This method returns an undefined value.

Parameters:

  • id: (String)


183
# File 'sig/quicknode_sdk.rbs', line 183

def delete_webhook: (id: String) -> void

#get_enabled_count ⇒ Object

Returns:

  • (Object)


186
# File 'sig/quicknode_sdk.rbs', line 186

def get_enabled_count: () -> untyped

#get_webhook ⇒ Object

Parameters:

  • id: (String)

Returns:

  • (Object)


181
# File 'sig/quicknode_sdk.rbs', line 181

def get_webhook: (id: String) -> untyped

#list_webhooks ⇒ Object

Parameters:

  • limit: (Integer)
  • offset: (Integer)

Returns:

  • (Object)


179
# File 'sig/quicknode_sdk.rbs', line 179

def list_webhooks: (?limit: Integer, ?offset: Integer) -> untyped

#pause_webhook ⇒ void

This method returns an undefined value.

Parameters:

  • id: (String)


184
# File 'sig/quicknode_sdk.rbs', line 184

def pause_webhook: (id: String) -> void

#update_webhook ⇒ Object

Parameters:

  • id: (String)
  • name: (String)
  • notification_email: (String)
  • destination_attributes_json: (String)

Returns:

  • (Object)


182
# File 'sig/quicknode_sdk.rbs', line 182

def update_webhook: (id: String, ?name: String, ?notification_email: String, ?destination_attributes_json: String) -> untyped

#update_webhook_template ⇒ Object

Parameters:

  • webhook_id: (String)
  • template_args_json: (String)
  • name: (String)
  • notification_email: (String)

Returns:

  • (Object)


188
# File 'sig/quicknode_sdk.rbs', line 188

def update_webhook_template: (webhook_id: String, template_args_json: String, ?name: String, ?notification_email: String) -> untyped