Class: Kounta::Webhook

Inherits:
Resource
  • Object
show all
Defined in:
lib/kounta/webhook.rb

Instance Attribute Summary

Attributes inherited from Resource

#client

Instance Method Summary collapse

Methods inherited from Resource

coerce, #delete!, has_many, has_many_in_time_range, has_one, #ignored_properties, #initialize, #new?, #save!, #to_hash

Constructor Details

This class inherits a constructor from Kounta::Resource

Instance Method Details

#resource_pathObject



12
13
14
# File 'lib/kounta/webhook.rb', line 12

def resource_path
  { companies: company_id, webhooks: id }
end