Skip to content

Commit

Permalink
Auto Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfriedmann committed Apr 14, 2019
1 parent 9e63572 commit a620e1c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ziggeo Ruby Server SDK 1.8
# Ziggeo Ruby Server SDK 1.15

Ziggeo API (https://ziggeo.com) allows you to integrate video recording and playback with only
two lines of code in your site, service or app. This is the Ruby Server SDK repository.
Expand Down Expand Up @@ -476,7 +476,6 @@ Arguments
- client_can_index_videos: *Client is allowed to perform the index operation*
- client_cannot_access_unaccepted_videos: *Client cannot view unaccepted videos*
- enable_video_subpages: *Enable hosted video pages*
- enable_facebook: *Enable Facebook Support for hosted video pages*


#### Get Stats
Expand Down Expand Up @@ -758,6 +757,19 @@ Arguments
- events: *Comma-separated list of the events the webhook will catch. They must be valid webhook type events.*


#### Confirm

Confirm a webhook using its ID and the corresponding validation code.

```ruby
ziggeo.webhooks().confirm(arguments = nil)
```

Arguments
- webhook_id: *Webhook ID that's returned in the creation call.*
- validation_code: *Validation code that is sent to the webhook when created.*


#### Delete

Delete a webhook using its URL.
Expand Down Expand Up @@ -795,6 +807,6 @@ Arguments

## License

Copyright (c) 2013-2018 Ziggeo
Copyright (c) 2013-2019 Ziggeo

Apache 2.0 License
4 changes: 4 additions & 0 deletions lib/classes/ZiggeoWebhooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ def create(data = nil)
return @application.connect.post('/v1/api/hook', data)
end

def confirm(data = nil)
return @application.connect.post('/v1/api/confirmhook', data)
end

def delete(data = nil)
return @application.connect.post('/v1/api/removehook', data)
end
Expand Down
2 changes: 1 addition & 1 deletion ziggeo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)

Gem::Specification.new do |s|
s.name = "Ziggeo"
s.version = "1.8"
s.version = "1.15"
s.authors = ["Ziggeo, Inc"]
s.email = ["support@ziggeo.com"]
s.homepage = "https://ziggeo.com"
Expand Down

0 comments on commit a620e1c

Please sign in to comment.