Class: Karaden::Param::Message::MessageCancelParamsBuilder
- Inherits:
-
Object
- Object
- Karaden::Param::Message::MessageCancelParamsBuilder
- Defined in:
- lib/karaden/param/message/message_cancel_params.rb
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize ⇒ MessageCancelParamsBuilder
constructor
A new instance of MessageCancelParamsBuilder.
- #with_id(id) ⇒ Object
Constructor Details
#initialize ⇒ MessageCancelParamsBuilder
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
#build ⇒ Object
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 |