Class: ProsperWorks::Webhook
- Defined in:
- lib/prosperworks/webhook.rb
Instance Attribute Summary collapse
-
#event ⇒ Object
Returns the value of attribute event.
-
#secret ⇒ Object
Returns the value of attribute secret.
-
#target ⇒ Object
Returns the value of attribute target.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Base
Class Method Summary collapse
Methods included from ApiOperations::Create
Methods included from ApiOperations::Connect
#get_uri, #handle_multiple_response, #handle_response, #send_request
Methods included from ApiOperations::Find
Methods included from ApiOperations::List
Methods included from ApiOperations::Delete
delete, handle_delete_response
Methods inherited from Base
client, #initialize, #set_attributes
Methods included from SerializeEntity
Constructor Details
This class inherits a constructor from ProsperWorks::Base
Instance Attribute Details
#event ⇒ Object
Returns the value of attribute event.
4 5 6 |
# File 'lib/prosperworks/webhook.rb', line 4 def event @event end |
#secret ⇒ Object
Returns the value of attribute secret.
4 5 6 |
# File 'lib/prosperworks/webhook.rb', line 4 def secret @secret end |
#target ⇒ Object
Returns the value of attribute target.
4 5 6 |
# File 'lib/prosperworks/webhook.rb', line 4 def target @target end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/prosperworks/webhook.rb', line 4 def type @type end |
Class Method Details
.api_name ⇒ Object
14 15 16 |
# File 'lib/prosperworks/webhook.rb', line 14 def self.api_name "webhooks" end |