Class: TFClient::Models::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/textflight-client/models/model.rb

Direct Known Subclasses

Nav, Scan, Status

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lines:) ⇒ Response

Returns a new instance of Response.



11
12
13
14
# File 'lib/textflight-client/models/model.rb', line 11

def initialize(lines:)
  @lines = lines.dup
  @response = []
end

Instance Attribute Details

#linesObject

Returns the value of attribute lines.



9
10
11
# File 'lib/textflight-client/models/model.rb', line 9

def lines
  @lines
end

#responseObject

Returns the value of attribute response.



9
10
11
# File 'lib/textflight-client/models/model.rb', line 9

def response
  @response
end