Class: ProsperWorks::Webhook

Inherits:
Base
  • Object
show all
Extended by:
ApiOperations::Create, ApiOperations::Delete, ApiOperations::Find, ApiOperations::List
Defined in:
lib/prosperworks/webhook.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#date_created, #id

Class Method Summary collapse

Methods included from ApiOperations::Create

create

Methods included from ApiOperations::Connect

#get_uri, #handle_multiple_response, #handle_response, #send_request

Methods included from ApiOperations::Find

find

Methods included from ApiOperations::List

list

Methods included from ApiOperations::Delete

delete, handle_delete_response

Methods inherited from Base

client, #initialize, #set_attributes

Methods included from SerializeEntity

#to_json

Constructor Details

This class inherits a constructor from ProsperWorks::Base

Instance Attribute Details

#eventObject

Returns the value of attribute event.



4
5
6
# File 'lib/prosperworks/webhook.rb', line 4

def event
  @event
end

#secretObject

Returns the value of attribute secret.



4
5
6
# File 'lib/prosperworks/webhook.rb', line 4

def secret
  @secret
end

#targetObject

Returns the value of attribute target.



4
5
6
# File 'lib/prosperworks/webhook.rb', line 4

def target
  @target
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/prosperworks/webhook.rb', line 4

def type
  @type
end

Class Method Details

.api_nameObject



14
15
16
# File 'lib/prosperworks/webhook.rb', line 14

def self.api_name
  "webhooks"
end