Class: Karaden::Param::Message::MessageCancelParamsBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/karaden/param/message/message_cancel_params.rb

Instance Method Summary collapse

Constructor Details

#initializeMessageCancelParamsBuilder

Returns a new instance of MessageCancelParamsBuilder.



55
56
57
# File 'lib/karaden/param/message/message_cancel_params.rb', line 55

def initialize
  @params = MessageCancelParams.new
end

Instance Method Details

#buildObject



64
65
66
# File 'lib/karaden/param/message/message_cancel_params.rb', line 64

def build
  @params.clone
end

#with_id(id) ⇒ Object



59
60
61
62
# File 'lib/karaden/param/message/message_cancel_params.rb', line 59

def with_id(id)
  @params.id = id
  self
end