Class: TochkaCyclopsApi::Schemas::Responses::Echo

Inherits:
Object
  • Object
show all
Defined in:
lib/tochka_cyclops_api/schemas/responses/echo.rb

Overview

Response schema for echo request

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text) ⇒ Echo

Returns a new instance of Echo.



12
13
14
# File 'lib/tochka_cyclops_api/schemas/responses/echo.rb', line 12

def initialize(text)
  @text = text
end

Instance Attribute Details

#textObject

Returns the value of attribute text.



10
11
12
# File 'lib/tochka_cyclops_api/schemas/responses/echo.rb', line 10

def text
  @text
end