Class: NekosLife::EightBallResponse
- Inherits:
-
Object
- Object
- NekosLife::EightBallResponse
- Defined in:
- lib/nekos.rb
Overview
A response from the 8ball endpoint
Instance Attribute Summary collapse
-
#image_url ⇒ String
readonly
The response in image form.
-
#text ⇒ String
(also: #to_s)
readonly
The response in text form.
Instance Attribute Details
#image_url ⇒ String (readonly)
Returns the response in image form.
145 146 147 |
# File 'lib/nekos.rb', line 145 def image_url @image_url end |
#text ⇒ String (readonly) Also known as: to_s
Returns the response in text form.
141 142 143 |
# File 'lib/nekos.rb', line 141 def text @text end |