Class: Credigy::LineResponse

Inherits:
Response show all
Defined in:
lib/credigy/line_response.rb

Instance Attribute Summary

Attributes inherited from Response

#raw_response, #requester

Instance Method Summary collapse

Methods inherited from Response

#body, #initialize, #root_key

Constructor Details

This class inherits a constructor from Credigy::Response

Instance Method Details

#lineObject



5
6
7
# File 'lib/credigy/line_response.rb', line 5

def line
  body[:linha_digitavel]
end

#sub_root_keyObject



9
10
11
# File 'lib/credigy/line_response.rb', line 9

def sub_root_key
  :ws_result_linha_digitavel
end