module BrregGrunndata::Types::FromResponseFactory
Contains methods for extracting datafrom client responses and building defined types from it.
Public Instance Methods
organization(response)
click to toggle source
Creates an organization from given response
@return BrregGrunndata::Types::Organization
# File lib/brreg_grunndata/types/factories.rb, line 109 def organization(response) Factory.organization response.message rescue Client::Response::MessageEmptyError nil end