Class: Slack::Message::Request
- Inherits:
-
Object
- Object
- Slack::Message::Request
- Defined in:
- lib/laziness/message.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(body) ⇒ Request
Returns a new instance of Request.
36 37 38 |
# File 'lib/laziness/message.rb', line 36 def initialize(body) @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
34 35 36 |
# File 'lib/laziness/message.rb', line 34 def body @body end |