Sha256: b531b1d6621e80d041b0556826238153e8936f7a067f3846f23516c1179d6bb5
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
module Nusii class WebhookEndpoint < Resource extend Nusii::Crud::Get extend Nusii::Crud::List extend Nusii::Crud::Create extend Nusii::Crud::Destroy include Nusii::Crud::DestroySelf attr_accessor :id, :target_url, :events def save requester = Nusii::Request.new requester.create_call self.class, self end private def editable_attributes [ :target_url, :events ] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nusii-0.1.1 | lib/nusii/webhook_endpoint.rb |