Class: Segurofacil::Responses::EstagiariosGetResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/segurofacil/responses/estagiarios_get_response.rb

Constant Summary

Constants inherited from Response

Response::HTTP_SUCCESS

Instance Attribute Summary

Attributes inherited from Response

#raw_body, #status_code

Instance Method Summary collapse

Methods inherited from Response

#error?, #initialize, #success?

Constructor Details

This class inherits a constructor from Segurofacil::Responses::Response

Instance Method Details

#estagiariosObject



5
6
7
# File 'lib/segurofacil/responses/estagiarios_get_response.rb', line 5

def estagiarios
  @estagiarios ||= Estagiario.ary_to_estagiarios(raw_body)
end