public function index($user_uid)
    {
        $user = Subbly::api('subbly.user')->find($user_uid);

        $options = $this->getParams('offset', 'limit', 'includes', 'order_by');

        $userAddresses = Subbly::api('subbly.user_address')->findByUser($user, $options);

        return $this->jsonCollectionResponse('user_addresses', $userAddresses);
    }
public function index($user_uid)
    {
        $user = Subbly::api('subbly.user')->find($user_uid);

        $options = $this->getParams('offset', 'limit', 'includes', 'order_by');

        $userAddresses = Subbly::api('subbly.user_address')->findByUser($user, $options);

        return $this->jsonCollectionResponse('user_addresses', $userAddresses);
    }
public function index ( $ user_uid ) { $ user = Subbly :: api ( 'subbly.user' ) -> find ( $ user_uid ) ; $ options = $ this -> getParams ( 'offset' , 'limit' , 'includes' , 'order_by' ) ; $ userAddresses = Subbly :: api ( 'subbly.user_address' ) -> findByUser ( $ user , $ options ) ; return $ this -> jsonCollectionResponse ( 'user_addresses' , $ userAddresses ) ; }
Get list of UserAddress for a User.

@route GET /api/v1/users/:user_uid/addresses
@authentication required
Get list of UserAddress for a User .