Class: Writeas::MarkdownResponse
- Defined in:
- lib/writeas/markdown_response.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(response_body) ⇒ MarkdownResponse
constructor
A new instance of MarkdownResponse.
Constructor Details
#initialize(response_body) ⇒ MarkdownResponse
Returns a new instance of MarkdownResponse.
7 8 9 10 |
# File 'lib/writeas/markdown_response.rb', line 7 def initialize(response_body) super(response_body) @body = @data["body"] end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
5 6 7 |
# File 'lib/writeas/markdown_response.rb', line 5 def body @body end |