Class: Karaden::Param::Message::MessageDetailParamsBuilder

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

Instance Method Summary collapse

Constructor Details

#initializeMessageDetailParamsBuilder

Returns a new instance of MessageDetailParamsBuilder.



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

def initialize
  @params = MessageDetailParams.new
end

Instance Method Details

#buildObject



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

def build
  @params.clone
end

#with_id(id) ⇒ Object



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

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