Sha256: 8d1c04ccb09c7edea40e3242a221b95ad78edb0a606aff3143a11162e28fdb18
Contents?: true
Size: 399 Bytes
Versions: 8
Compression:
Stored size: 399 Bytes
Contents
module PostmanMta class Label < ApplicationModel attr_reader :conversation_id def initialize(conversation_id) @conversation_id = conversation_id end def create(params) post("/api/v1/conversations/#{conversation_id}/labels", body: params) end def destroy(label_id) delete("/api/v1/conversations/#{conversation_id}/labels/#{label_id}") end end end
Version data entries
8 entries across 8 versions & 1 rubygems