Class: Nexus::Invision::Requests::CreateMessage
- Inherits:
-
T::Struct
- Object
- T::Struct
- Nexus::Invision::Requests::CreateMessage
- Extended by:
- T::Sig
- Includes:
- ValueObject
- Defined in:
- lib/nexus/invision/requests/create_message.rb
Instance Method Summary collapse
Methods included from ValueObject
Instance Method Details
#serialize ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/nexus/invision/requests/create_message.rb', line 20 def serialize { "from" => @from, "to" => @to.map(&:to_s).join(","), "title" => @title, "body" => @body, } end |