Module: Convoy::ApiOperations::Get

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

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



18
19
20
21
# File 'lib/convoy/api_operations/get.rb', line 18

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

Instance Method Details

#getObject



13
14
15
16
# File 'lib/convoy/api_operations/get.rb', line 13

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