Sha256: e3f6155c470ff868cf9a24f478ae0a419cce7fa64cc6be0358a8feeaa4337f34
Contents?: true
Size: 512 Bytes
Versions: 11
Compression:
Stored size: 512 Bytes
Contents
module PushbulletRuby module API module Chats def chats PushbulletRuby::Chat.from_response(get('/v2/chats')) end def create_chat(params: {}) PushbulletRuby::Chat.new(post('/v2/chats', params).body) end def delete_chat(chat_id: nil) delete("/v2/chats/#{chat_id}").body end def update_chat(chat_id: nil, params: {}) PushbulletRuby::Chat.new(post("/v2/chats/#{chat_id}", params).body) end end end end
Version data entries
11 entries across 10 versions & 2 rubygems