Sha256: 83e367e7a9a91ad40b2dc35432105c53d767b930f441b427fe4de433510c0659
Contents?: true
Size: 375 Bytes
Versions: 10
Compression:
Stored size: 375 Bytes
Contents
module PostmanMta class Tag < ApplicationModel attr_reader :conversation_id def initialize(conversation_id) @conversation_id = conversation_id end def create(params) post("/conversations/#{conversation_id}/tags", body: params) end def destroy(tag_id) delete("/conversations/#{conversation_id}/tags/#{tag_id}") end end end
Version data entries
10 entries across 10 versions & 1 rubygems