src/User.php
public function getOrganization($organization = '')
    {
        $contents = $this
            ->call('GET', self::ORGANIZATION_RESOURCE.'/'.$this->getOrganizationName($organization))
            ->getBody()
            ->getContents()
        ;

        return Organization::createFromJsonResponse($contents);
    }
public function getOrganization($organization = '')
    {
        $contents = $this
            ->call('GET', self::ORGANIZATION_RESOURCE.'/'.$this->getOrganizationName($organization))
            ->getBody()
            ->getContents()
        ;

        return Organization::createFromJsonResponse($contents);
    }
public function getOrganization ( $ organization = '' ) { $ contents = $ this -> call ( 'GET' , self :: ORGANIZATION_RESOURCE . '/' . $ this -> getOrganizationName ( $ organization ) ) -> getBody ( ) -> getContents ( ) ; return Organization :: createFromJsonResponse ( $ contents ) ; }
Return an organization.

@since 1.7.0

@param string $organization Organization name

@throws GuzzleException
@throws \RuntimeException

@return Organization
Return an organization .