Class: NekosLife::EightBallResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/nekos.rb

Overview

A response from the 8ball endpoint

Instance Attribute Summary collapse

Instance Attribute Details

#image_urlString (readonly)

Returns the response in image form.

Returns:

  • (String)

    the response in image form.



145
146
147
# File 'lib/nekos.rb', line 145

def image_url
  @image_url
end

#textString (readonly) Also known as: to_s

Returns the response in text form.

Returns:

  • (String)

    the response in text form.



141
142
143
# File 'lib/nekos.rb', line 141

def text
  @text
end