public function updateCard(Request $request)
    {
        $this->validate($request, [
            'stripe_token' => 'required'
        ]);

        Auth::user()->updateCard($request->stripe_token);

        return $this->users->getCurrentUser();
    }
public function updateCard(Request $request)
    {
        $this->validate($request, [
            'stripe_token' => 'required'
        ]);

        Auth::user()->updateCard($request->stripe_token);

        return $this->users->getCurrentUser();
    }
public function updateCard ( Request $ request ) { $ this -> validate ( $ request , [ 'stripe_token' => 'required' ] ) ; Auth :: user ( ) -> updateCard ( $ request -> stripe_token ) ; return $ this -> users -> getCurrentUser ( ) ; }
Update the user's billing card information.

@param  \Illuminate\Http\Request  $request
@return \Illuminate\Http\Response
Update the user s billing card information .