Class: Frame::WebhookEndpoint

Inherits:
APIResource show all
Extended by:
APIOperations::List
Defined in:
lib/frame/resources/webhook_endpoint.rb

Constant Summary collapse

OBJECT_NAME =
"webhook_endpoint"

Instance Attribute Summary

Attributes inherited from FrameObject

#id, #original_values

Class Method Summary collapse

Methods included from APIOperations::List

list

Methods inherited from APIResource

class_name, #refresh, resource_url, #resource_url, retrieve

Methods included from APIOperations::Request

included

Methods inherited from FrameObject

#[], #[]=, construct_from, #each, #initialize, #initialize_from, #inspect, #keys, #serialize_params, #to_hash, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Frame::FrameObject

Class Method Details

.list(params = {}, opts = {}) ⇒ Object



13
14
15
16
17
18
19
20
# File 'lib/frame/resources/webhook_endpoint.rb', line 13

def self.list(params = {}, opts = {})
  request_object(
    :get,
    "/v1/webhook_endpoints",
    params,
    opts
  )
end

.object_nameObject



9
10
11
# File 'lib/frame/resources/webhook_endpoint.rb', line 9

def self.object_name
  OBJECT_NAME
end