Module: Convoy::ApiOperations::List

Included in:
Convoy::ApiKey, DeliveryAttempt, Endpoint, Event, EventDelivery, PortalLink, Project, Source, Subscription
Defined in:
lib/convoy/api_operations/list.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



20
21
22
23
# File 'lib/convoy/api_operations/list.rb', line 20

def self.included(base)
  # Setup helper methods on Class.
  base.extend(ClassMethods)
end

Instance Method Details

#listObject



15
16
17
18
# File 'lib/convoy/api_operations/list.rb', line 15

def list
  send_request(resource_uri, :get, params: @params)
  @data = @response['data']
end