Class: Ns::Api::Response::Parser

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/ns/api/response/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Model

#initialize

Instance Attribute Details

#response_textObject

Returns the value of attribute response_text.



7
8
9
# File 'lib/ns/api/response/parser.rb', line 7

def response_text
  @response_text
end

Instance Method Details

#parsed_responseObject



9
10
11
# File 'lib/ns/api/response/parser.rb', line 9

def parsed_response
  @parsed_response ||= parser.parse(response_text)
end